diff options
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/server/es_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/server/es_server.c b/src/engine/server/es_server.c index 36414b20..12d97f37 100644 --- a/src/engine/server/es_server.c +++ b/src/engine/server/es_server.c @@ -428,8 +428,8 @@ static void server_do_snap() crc = snapshot_crc((SNAPSHOT*)data); /* remove old snapshos */ - /* keep 1 seconds worth of snapshots */ - snapstorage_purge_until(&clients[i].snapshots, current_tick-SERVER_TICK_SPEED); + /* keep 3 seconds worth of snapshots */ + snapstorage_purge_until(&clients[i].snapshots, current_tick-SERVER_TICK_SPEED*3); /* save it the snapshot */ snapstorage_add(&clients[i].snapshots, current_tick, time_get(), snapshot_size, data, 0); |