MCPcopy Create free account
hub / github.com/Syncplay/syncplay / startRecorder

Method startRecorder

syncplay/server.py:337–342  ·  view source on GitHub ↗
(self, delay)

Source from the content-addressed store, hash-verified

335 self._roomManagerHandle = roomManager
336
337 def startRecorder(self, delay):
338 try:
339 self._dbHandle.connect()
340 reactor.callLater(delay, self._scheduleClientSnapshot) # TODO: FIX THIS!
341 except:
342 print("--- Error in initializing the stats database. Server Stats not enabled. ---")
343
344 def _scheduleClientSnapshot(self):
345 self._clientSnapshotTimer = task.LoopingCall(self._runClientSnapshot)

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected