CrazyCroatKid
CrazyCroatKid
Explore posts from servers
KKinde
Created by CrazyCroatKid on 10/7/2024 in #💻┃support
Unexpected Server error with Remix SDK and Cloudflare
Nevermind! Added page rules like these with one of them making things work:
Cache Level: Set to "Bypass"
Disable Performance Features: Turn off features like Rocket Loader, Mirage, etc.
Security Level: Optionally, set to "Essentially Off" to disable WAF for this path.
Disable Apps: Ensure no Cloudflare Apps are affecting this path.
Cache Level: Set to "Bypass"
Disable Performance Features: Turn off features like Rocket Loader, Mirage, etc.
Security Level: Optionally, set to "Essentially Off" to disable WAF for this path.
Disable Apps: Ensure no Cloudflare Apps are affecting this path.
I also did have cache everything from a while back that was put on my domain that could have been the issue.
2 replies
DTDrizzle Team
Created by CrazyCroatKid on 5/6/2024 in #help
How to retry seriazible transactions Drizzle Orm
Got it working! Looks like there is for lock that is not in the documentation. Just set something up like this:
const lockedRowQuery = tx
.select()
.from(url)
.limit(1)
.orderBy(url.gmPartNo)
.for("update", { skipLocked: true })
.where(eq(url.scraped, false));
const lockedRowQuery = tx
.select()
.from(url)
.limit(1)
.orderBy(url.gmPartNo)
.for("update", { skipLocked: true })
.where(eq(url.scraped, false));
2 replies