Reduce the gap between blend-files checks to 1 second

This commit is contained in:
Rudra Saraswat 2023-04-18 00:15:09 +05:30
parent a86d8ff966
commit 80c4de0637
2 changed files with 3 additions and 2 deletions

View file

@ -233,4 +233,4 @@ while True:
create_container_binaries()
create_container_applications()
time.sleep(15)
time.sleep(1)

View file

@ -16,7 +16,8 @@ function create_container () {
'cmd': `blend create-container -cn ${container_name} -d ${container_distro} \
&& echo 'created container successfully (exiting automatically in 5 seconds)' \
|| echo 'container creation failed (exiting automatically in 5 seconds)';
sleep 5` });
sleep 5` })
$('#inputContainerName').val('')
ipc.on('container-created', () => {
worker.postMessage('update-list')
})