Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] memory-queue response always STALE #440

Open
minibox24 opened this issue Mar 4, 2025 · 1 comment
Open

[BUG] memory-queue response always STALE #440

minibox24 opened this issue Mar 4, 2025 · 1 comment
Labels
bug Something isn't working triage

Comments

@minibox24
Copy link

minibox24 commented Mar 4, 2025

Describe the bug

In a wrangler dev --remote or Workers deployment production environment, memory-queue does not work properly and keeps showing as STALE.

Steps to reproduce

https://github.com/minibox24/opennext-cloudflare-isr

https://opennext-cloudflare-isr.minibox.workers.dev/

Expected behavior

ISR every 10 seconds are working normally

@opennextjs/cloudflare version

0.5.8

Wrangler version

3.109.2

next info output

(wsl)

Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP Tue Nov 5 00:21:55 UTC 2024
  Available memory (MB): 15818
  Available CPU cores: 12
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.24 // An outdated version detected (latest is 15.2.1), upgrade is highly recommended!
  eslint-config-next: 14.2.24
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.8.2
Next.js Config:
  output: N/A

Additional context

fixed this issue with a nextjs patch
https://gist.github.com/minibox24/b2dc210086d4ff8d1b1f9984835354a8

In direct mode, it works fine in production.

@minibox24 minibox24 added bug Something isn't working triage labels Mar 4, 2025
@conico974
Copy link
Collaborator

For reference : https://discord.com/channels/1283128968140161065/1346540443495825418
I'm wondering if it might be an issue with clearTimeout used in the Memory Queue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants