From 1eff6e94cee420b291838423cf376c100149191f Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 8 Aug 2013 14:46:56 -0700 Subject: [PATCH] tone down voxel server sending --- voxel-server/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voxel-server/src/main.cpp b/voxel-server/src/main.cpp index f5b0eca825..84304fa127 100644 --- a/voxel-server/src/main.cpp +++ b/voxel-server/src/main.cpp @@ -47,7 +47,7 @@ const float DEATH_STAR_RADIUS = 4.0; const float MAX_CUBE = 0.05f; const int VOXEL_SEND_INTERVAL_USECS = 17 * 1000; // approximately 60fps -int PACKETS_PER_CLIENT_PER_INTERVAL = 20; +int PACKETS_PER_CLIENT_PER_INTERVAL = 10; const int SENDING_TIME_TO_SPARE = 5 * 1000; // usec of sending interval to spare for calculating voxels const int INTERVALS_PER_SECOND = 1000 * 1000 / VOXEL_SEND_INTERVAL_USECS;