mirror of
https://github.com/koush/scrypted.git
synced 2026-03-20 16:40:24 +00:00
server: plugin init cleanups
This commit is contained in:
@@ -920,8 +920,8 @@ async def plugin_async_main(
|
||||
clusterSetup = ClusterSetup(loop, peer)
|
||||
peer.params["initializeCluster"] = lambda options: clusterSetup.initializeCluster(options)
|
||||
|
||||
async def ping(time: int, pong: Any):
|
||||
await pong(time)
|
||||
async def ping(time: int):
|
||||
return time
|
||||
|
||||
peer.params["ping"] = ping
|
||||
|
||||
|
||||
Reference in New Issue
Block a user