Skip to content

Commit

Permalink
websocket_ping_interval
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Oct 31, 2024
1 parent ee23a25 commit c7c7c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tbot/web/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ def App():
cookie_secret=config.data.web.cookie_secret,
template_path=os.path.join(os.path.dirname(__file__), 'templates'),
autoescape=None,
websocket_ping_interval=15,
)

async def main():
app = App()
server = app.listen(config.data.web.port)

app.db = await db.Db().connect()
app.redis = await aioredis.create_redis_pool(
f'redis://{config.data.redis.host}:{config.data.redis.port}',
Expand Down

0 comments on commit c7c7c2c

Please sign in to comment.