diff options
author | Melody Horn <melody@boringcactus.com> | 2021-03-07 10:47:42 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-03-07 10:47:42 -0700 |
commit | b8bb816d72217c1afdb18858481db737e52a4e7f (patch) | |
tree | 96664eb8a38e7c435e2c2e8a3432cc55118d7bd2 /src/world.rs | |
parent | d5083f4cce47567644fd1b2c5923e5d0dcd98d44 (diff) | |
download | hope-b8bb816d72217c1afdb18858481db737e52a4e7f.tar.gz hope-b8bb816d72217c1afdb18858481db737e52a4e7f.zip |
don't waste time blocking for no reason
Diffstat (limited to 'src/world.rs')
-rw-r--r-- | src/world.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.rs b/src/world.rs index 1fbc4fe..a3260a2 100644 --- a/src/world.rs +++ b/src/world.rs @@ -6,7 +6,7 @@ use uuid::Uuid; use crate::actor::{Actorful, Value, Slot}; -const CHANNEL_SIZE: usize = 5; +const CHANNEL_SIZE: usize = 1; pub struct ActorThreadId(Uuid); |