refactor(core): streamline container stopping process and reduce timeout duration; update related methods for consistency

This commit is contained in:
Andras Bacsai
2025-04-30 15:28:59 +02:00
parent 22b88d55b3
commit e062edb689
7 changed files with 27 additions and 165 deletions

View File

@@ -117,7 +117,8 @@
@script
<script>
$wire.$on('stopEvent', () => {
$wire.$dispatch('info', 'Stopping application.');
$wire.$dispatch('info',
'Gracefully stopping application, it could take a while depending on the application.');
$wire.$call('stop');
});
</script>

View File

@@ -138,7 +138,7 @@
@script
<script>
$wire.$on('stopEvent', () => {
$wire.$dispatch('info', 'Stopping service.');
$wire.$dispatch('info', 'Gracefully stopping service, it could take a while depending on the service.');
$wire.$call('stop');
});
$wire.$on('startEvent', async () => {