(self, delay)
| 309 | self._roomManagerHandle = roomManager |
| 310 | |
| 311 | def startRecorder(self, delay): |
| 312 | try: |
| 313 | self._dbHandle.connect() |
| 314 | reactor.callLater(delay, self._scheduleClientSnapshot) |
| 315 | except: |
| 316 | print("--- Error in initializing the stats database. Server Stats not enabled. ---") |
| 317 | |
| 318 | def _scheduleClientSnapshot(self): |
| 319 | self._clientSnapshotTimer = task.LoopingCall(self._runClientSnapshot) |