fixed timeout issue
implemented timeoutManager, a more efficient solution for managing timeouts in RAM memory. this resolves the problem of lingering timeouts in the server, providing faster removal of old timeouts and improving overall performance.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
const colors = ["red", "blue", "green", "yellow"];
|
||||
module.exports = { colors };
|
||||
const COLORS = ['red', 'blue', 'green', 'yellow'];
|
||||
const MOVE_TIME = 15000;
|
||||
module.exports = { COLORS, MOVE_TIME };
|
||||
|
||||
Reference in New Issue
Block a user