Spaces:
Running
Running
| # This file includes the utility function handlers. | |
| # Currently, the only file here is the ping function, | |
| # which does absolutely nothing. | |
| # Defines the handler for the ping action to do nothing. | |
| # I still included this because it is still important. | |
| # On the frontend, it sends a ping action every 30 seconds | |
| # prevents the websocket connection from closing after | |
| # a minute due to inactivity. | |
| def ping(): | |
| # Do absolutely nothing, | |
| return # Then exit the function. |