mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add startup message
This commit is contained in:
parent
29fc1f6f1f
commit
47a1e33030
@ -20,7 +20,8 @@
|
|||||||
data-internet="{{ translate('startup', 'internet', data['lang']) }}"
|
data-internet="{{ translate('startup', 'internet', data['lang']) }}"
|
||||||
data-tasks="{{ translate('startup', 'tasks', data['lang']) }}"
|
data-tasks="{{ translate('startup', 'tasks', data['lang']) }}"
|
||||||
data-internals="{{ translate('startup', 'internals', data['lang']) }}"
|
data-internals="{{ translate('startup', 'internals', data['lang']) }}"
|
||||||
data-almost="{{ translate('startup', 'almost', data['lang']) }}">
|
data-almost="{{ translate('startup', 'almost', data['lang']) }}"
|
||||||
|
data-cache="{{ translate('startup', 'cache', data['lang'])}}">
|
||||||
{{ translate('startup', 'starting', data['lang']) }}</h2>
|
{{ translate('startup', 'starting', data['lang']) }}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -600,6 +600,7 @@
|
|||||||
},
|
},
|
||||||
"startup": {
|
"startup": {
|
||||||
"almost": "Finishing up. Hang on tight...",
|
"almost": "Finishing up. Hang on tight...",
|
||||||
|
"cache": "Refreshing Big Bucket cache file",
|
||||||
"internals": "Configuring and starting Crafty's internal components",
|
"internals": "Configuring and starting Crafty's internal components",
|
||||||
"internet": "Checking for internet connection",
|
"internet": "Checking for internet connection",
|
||||||
"server": "Initializing ",
|
"server": "Initializing ",
|
||||||
|
2
main.py
2
main.py
@ -212,6 +212,8 @@ def setup_starter():
|
|||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
controller_setup_thread.start()
|
controller_setup_thread.start()
|
||||||
|
|
||||||
|
web_sock.broadcast("update", {"section": "cache"})
|
||||||
|
controller.big_bucket.manual_refresh_cache()
|
||||||
# Wait for the setup threads to finish
|
# Wait for the setup threads to finish
|
||||||
web_sock.broadcast(
|
web_sock.broadcast(
|
||||||
"update",
|
"update",
|
||||||
|
Loading…
Reference in New Issue
Block a user