Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lgl
SmartVillages2
Commits
03a554bb
Commit
03a554bb
authored
Aug 06, 2025
by
Luna Riegel
Browse files
Adjust catalogue retrieval timeout
parent
97558258
Changes
1
Show whitespace changes
Inline
Side-by-side
src/objectList.vue
View file @
03a554bb
...
@@ -154,7 +154,7 @@ async function loadCataloguesFromConfig(config) {
...
@@ -154,7 +154,7 @@ async function loadCataloguesFromConfig(config) {
async
function
retrieveCatalogueJson
(
link
)
{
async
function
retrieveCatalogueJson
(
link
)
{
const
controller
=
new
AbortController
();
const
controller
=
new
AbortController
();
const
timeout
=
setTimeout
(()
=>
controller
.
abort
(),
1
000
);
const
timeout
=
setTimeout
(()
=>
controller
.
abort
(),
5
000
);
try
{
try
{
const
response
=
await
fetch
(
link
,
{
signal
:
controller
.
signal
});
const
response
=
await
fetch
(
link
,
{
signal
:
controller
.
signal
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment