(self)
| 57 | return self.name == StatNames.STARTUP_STATS.value |
| 58 | |
| 59 | def should_send_summary_stats(self): |
| 60 | from explorer.models import ExplorerValue |
| 61 | last_send = ExplorerValue.objects.get_startup_last_send() |
| 62 | if not last_send: |
| 63 | return True |
| 64 | else: |
| 65 | return self.time - last_send >= self.STARTUP_STAT_COLLECTION_INTERVAL |
| 66 | |
| 67 | def send_summary_stats(self): |
| 68 | from explorer.models import ExplorerValue |
no test coverage detected