Skip to content

stopping the request during the first page view is breaking initialization #3159

@elevatebart

Description

@elevatebart

Environment

  • Operating System: Darwin
  • Node Version: v22.10.0
  • Nuxt Version: 3.15.4
  • CLI Version: 3.21.1
  • Nitro Version: 2.10.4
  • Package Manager: npm@10.9.0
  • Builder: -
  • User Config: modules, target, image, sitemap, app, css, content, devServer, features, vue, vite, gtm, runtimeConfig, nitro, routeRules, build, optimization, multiCache, aos, devtools, compatibilityDate
  • Runtime Modules: @nuxt/devtools@2.1.0, @nuxt/image@1.9.0, nuxt-multi-cache@3.4.0, vue3-carousel-nuxt@1.1.5, nuxt-lazy-hydrate@1.0.0, nuxt-aos@1.2.5, @zadigetvoltaire/nuxt-gtm@0.0.13, @nuxtjs/sitemap@7.2.5, @nuxtjs/robots@5.2.2, @nuxt/content@3.1.1
  • Build Modules: -

Version

v3+

Reproduction

https://kestra.io

Description

When DB init takes more that 100s, the Cloudflare timeout takes on and returns.
I hope the query finishes but it's hard to make sure of.

Would it be better to do this init as a "fire and forget"?
We could send a flag with each dataset saying "initializing" so we can tell users what is happening and still communicate a progress.
Even better we could have a ProgressBar component telling where we are.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalev2Relevant for @nuxt/content v2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions