Make sure static files are loaded
This commit is contained in:
1 parent
19cfa5391d
commit
3dd786deb9
2 files changed
+4
-6
No files matched your search
@@ -27,18 +27,13 @@ class ArtifactWatcher(threading.Thread):
|
||||
test.save()
|
||||
|
||||
def run(self):
|
||||
|
||||
while True:
|
||||
|
||||
for test in OpenBench.utils.get_awaiting_tests():
|
||||
self.update_test(test)
|
||||
|
||||
time.sleep(10)
|
||||
|
||||
class Command(BaseRunserverCommand):
|
||||
|
||||
help = "Test"
|
||||
|
||||
def inner_run(self, *args, **options):
|
||||
self.pre_start()
|
||||
super().inner_run(*args, **options)
|
||||
@@ -48,4 +43,4 @@ class Command(BaseRunserverCommand):
|
||||
self.watcher = ArtifactWatcher().start()
|
||||
|
||||
def pre_quit(self):
|
||||
self.watcher.kill()
|
||||
self.watcher.kill()
|
||||
Reference in new issue
Block a user