feat(docker): added states volume
This commit is contained in:
parent
73abc7a981
commit
224fed6aa9
|
@ -27,6 +27,8 @@ services:
|
|||
depends_on:
|
||||
- rtmp
|
||||
- redis
|
||||
volumes:
|
||||
- ./states/:/code/states/
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -123,7 +123,6 @@ async def emulator():
|
|||
|
||||
sleep_t = last_frame_t - time.time() + EMULATOR_SPF
|
||||
if sleep_t > 0:
|
||||
# time.sleep(sleep_t)
|
||||
await asyncio.sleep(sleep_t)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue