host_sleep Command

host_sleep [Milliseconds]

This command will make the server sleep for the specified amount of milliseconds after each frame. Set to 0 to disable (default).


Arguments are parameters that you add to a command. Find information about this command's arguments below.

MillisecondsThe amount of time (in ms) to sleep for after each frame. Set to 0 to disable. By default this is disabled - we recommend you keep this setting disabled.

Extra Info

Sv_cheats Required? Yes
Client or Server Command? Both
Default Value 0

host_sleep Examples

Find below working examples of this command (copy and paste into console).

host_sleep 0

This command would disable the host_sleep setting (default).

host_sleep 10

This command would make the server sleep for 10ms after each frame.


Use this command to save your settings you have changed with host_ commands so that they apply even when the server restarts.