Skip to content

Commit 5e2ada7

Browse files
committed
fix: update daemon package execution parameters in default layout
- Modified the API request for executing daemon packages to include a structured query object with additional parameters for logging and timeout settings. - This change enhances the control over the execution behavior of the daemon package.
1 parent 67a7f36 commit 5e2ada7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/web/src/layouts/default.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,13 @@ export default defineNuxtComponent({
104104
}
105105
106106
try {
107-
const daemonPackageResponse = await $http.$post('/core/backends/execute?async=false', {
107+
const daemonPackageResponse = await $http.$post('/core/backends/execute', {
108+
query: {
109+
async: 'false',
110+
disableLogs: 'true',
111+
timeoutDiscard: 'true',
112+
syncTimeout: '3000',
113+
},
108114
method: 'POST',
109115
body: {
110116
action: 'DUMP_PACKAGE_CONFIG',

0 commit comments

Comments
 (0)