faster startup and fix asan error

This commit is contained in:
2026-02-19 03:47:30 -06:00
parent 06ad466b1a
commit 38f368c6d6
5 changed files with 21 additions and 23 deletions

View File

@@ -27,7 +27,7 @@ typedef struct letter {
// #define ACTOR_TRACE
#define ACTOR_FAST_TIMER_NS (10ULL * 1000000) // 10ms per turn
#define ACTOR_SLOW_TIMER_NS (5000ULL * 1000000) // 5s for slow actors
#define ACTOR_SLOW_TIMER_NS (60000ULL * 1000000) // 60s for slow actors
#define ACTOR_SLOW_STRIKES_MAX 3 // consecutive slow turns -> kill
#define ACTOR_MEMORY_LIMIT (16ULL * 1024 * 1024) // 16MB heap cap