mirror of
https://github.com/Zygo/bees.git
synced 2025-08-04 23:03:28 +02:00
bees: limit FD cache size explicitly
This will allow the default size limit for cache objects to be changed
with impunity.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
(cherry picked from commit 9daa51edaa
)
This commit is contained in:
@@ -81,6 +81,9 @@ const int BEES_PROGRESS_INTERVAL = 3600;
|
||||
// Status is output every freakin second. Use a ramdisk.
|
||||
const int BEES_STATUS_INTERVAL = 1;
|
||||
|
||||
// Number of FDs to open (not counting 100 roots)
|
||||
const size_t BEES_FD_CACHE_SIZE = 384;
|
||||
|
||||
// Log warnings when an operation takes too long
|
||||
const double BEES_TOO_LONG = 2.5;
|
||||
|
||||
|
Reference in New Issue
Block a user