Is there a way to increase the polling speed of the Steam app?



  • I got a private server running on a VPS.

    I set the update frequency to be 1 tick = 20 ms.

    This seems to be working fine except that now in the Steam client the state of units doesn't update fast enough and they appear to teleport around. Is there a way to make the Steam client poll the game state at 50 Hz?


  • YP

    I don't think there is any polling involved.. the client is using a websocket and the server pushes the data to the client.

    I think the problem is the animations of the creeps that is drawn by the client.


  • Culture

    The server caps the updates at one per second, faster updates used to nearly instantly freeze and crash the client 🙂


  • Dev Team

    Check the config.backend.socketUpdateThrottle option here. You can add a mod that changes it like this:

    module.exports = function(config) {
        if(config.backend) {
            config.backend.socketUpdateThrottle = 100;
        }
    };

    But setting it to 50 Hz is a bit crazy idea and won’t perform any good.

     

     


  • Thanks for the tip!