summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2024-09-23 23:59:07 -0700
committerGitHub <noreply@github.com>2024-09-23 23:59:07 -0700
commitc070ddac97546bf8f54ec78141e8ce374054513d (patch)
tree40201fa813000d0c4fcf0ee33c7b78d0dc36907e /var
parent679770b02cf9505752b8da93026e8533bbf38651 (diff)
downloadspack-c070ddac97546bf8f54ec78141e8ce374054513d.tar.gz
spack-c070ddac97546bf8f54ec78141e8ce374054513d.tar.bz2
spack-c070ddac97546bf8f54ec78141e8ce374054513d.tar.xz
spack-c070ddac97546bf8f54ec78141e8ce374054513d.zip
database: don't call `socket.getfqdn()` on every write (#46554)
We've seen `getfqdn()` cause slowdowns on macOS in CI when added elsewhere. It's also called by database.py every time we write the DB file. - [x] replace the call with a memoized version so that it is only called once per process. Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions