Skip to content

Conversation

@elboulangero
Copy link
Contributor

The default timeout of 10 seconds might be too short when removing a mirror, as it's a lenghty operation: mirrorbits needs to remove all the keys associated with the mirror from the database. The number of keys is roughly equal to the number of files tracked on the mirror.

On the Kali mirrorbits instance we hit the timeout pretty much every time we remove a mirror. This has not always been the case, so I suppose we were close to the 10 seconds timeout, and then we crossed it (maybe the instance is more busy these days, or maybe it happened after we switched from redis to valkey).

Close: #206

The default timeout of 10 seconds might be too short when removing a
mirror, as it's a lenghty operation: mirrorbits needs to remove all the
keys associated with the mirror from the database. The number of keys is
roughly equal to the number of files tracked on the mirror.

On the Kali mirrorbits instance we hit the timeout pretty much every
time we remove a mirror. This has not always been the case, so I suppose
we were close to the 10 seconds timeout, and then we crossed it (maybe
the instance is more busy these days, or maybe it happened after we
switched from redis to valkey).

Close: etix#206
@jbkempf jbkempf merged commit 7357f8c into etix:master Feb 8, 2026
3 checks passed
@elboulangero elboulangero deleted the remove-timeout branch February 9, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove error: rpc error: code = DeadlineExceeded desc = context deadline exceeded

2 participants