-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi there, I'm not a 100% sure if the problem is on the bkt
side or somewhere else.
My use case is as follows:
- direnv loads the
.envrc
for my project .envrc
invokes a bunch ofbkt
processes withbkt --ttl=90d --stale 1h --discard-failures -- <very slow command>
- Every hour, loading the environment variables gets stuck with a message like:
direnv: ([<.envrc path>]) is taking a while to execute. Use CTRL-C to give up.
I've verified that the direct bkt
invocations return quickly by adding set -x
to my .envrc
.
If I'm understanding direnv/direnv#626 (comment) correctly, the bash
process that direnv
is launching is still waiting for all sub-sub-processes to exit, which somehow includes the child process that bkt
launches to refresh the --stale
cache.
Would it be possible to truly daemonize the refresh, allowing direnv
to run quickly?
Metadata
Metadata
Assignees
Labels
No labels