(self, delay)
| 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) |