Brandon Thomas and Claude Opus 5.5
ba3b299715
Cap MySQL statement cache and connection lifetime in storyteller-web
...
Production hit MySQL error 1461 (max_prepared_stmt_count = 16382), causing
fast 500s on /v1/prompt/batch and other endpoints. sqlx caches up to 100
prepared statements per connection by default, so 7 replicas x 50
connections could hold ~35k statements, more than twice the server cap.
- statement_cache_capacity defaults to 25 (MYSQL_STATEMENT_CACHE_CAPACITY),
bringing the ceiling to ~8.75k at current scale.
- max_lifetime defaults to 10 minutes (MYSQL_MAX_LIFETIME_SECONDS), down from
sqlx's 30, so statements orphaned by cancelled queries are released sooner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-09 14:12:52 -04:00
Brandon Thomas
2e596cc4b3
ffmpeg fallback on mac
2026-09-28 01:07:45 -04:00
Brandon Thomas
c3d72fb321
Generate WebP thumbnails for videos instead of Gif (except: MacOS 10.15)
...
MacOS Catalina 10.15 released October 7, 2019 can't do gifs in
safari/webkit.
2026-09-28 00:52:07 -04:00
Brandon Thomas
46fd907182
additional cors tests to prevent regressions
2026-09-27 23:43:06 -04:00
Brandon Thomas
6b34f23b43
tests
2026-09-27 22:55:36 -04:00
Brandon Thomas
7a88118349
fold cdn configs in
2026-09-27 22:41:01 -04:00
Brandon Thomas
e07bf35cd0
static config for first party domains
2026-09-27 22:40:14 -04:00
Brandon Thomas
b9ee1bd225
fixes to new endpoint
2026-09-27 22:01:01 -04:00
Brandon Thomas
68886b62fe
Merge pull request #37 from storytold/bt-query-perf
...
more performant list user files endpoint
2026-09-27 20:22:51 -04:00
Brandon Thomas
3a93e358cd
tests
2026-09-27 17:27:40 -04:00
Brandon Thomas
1cb0b32898
move desktop configs
2026-09-27 17:25:20 -04:00
Brandon Thomas
c50bb78c32
tauri cors for new domain
2026-09-27 17:12:27 -04:00
Brandon Thomas
55ab800542
more performant list user files endpoint
2026-09-27 15:02:19 -04:00
Brandon Thomas
b6a184bcb0
enum variants
2026-09-26 02:36:24 -07:00
Brandon Thomas
d0e1d113fe
break out queries
2026-09-26 02:13:23 -07:00
Brandon Thomas
1facb312dc
tests
2026-09-26 01:57:16 -07:00
Brandon Thomas
f2c8a0390f
final fixes
2026-09-26 00:46:19 -07:00
Brandon Thomas
2e83d39d2b
login challenge on website works
2026-09-26 00:22:45 -07:00
Brandon Thomas
4f1c9134ee
WIP SSO OTP bridge
2026-09-25 23:23:00 -07:00
Brandon Thomas
1b2d2f49e5
improve concurrency
2026-09-20 10:44:54 -04:00
Brandon Thomas
3e6d759fe2
fix thumbnail job latency
2026-09-20 10:12:38 -04:00
Brandon Thomas
e2da58b3e5
re-route request
2026-09-20 08:21:08 -04:00
Brandon Thomas
cfa8264642
debug tool
2026-09-18 18:54:10 -04:00
Brandon Thomas
734b757ef9
gpt image 2.5: new qualities
2026-09-18 14:12:34 -04:00
Brandon Thomas
92bc1e24c4
wan 3.0 + prime
2026-09-18 13:40:50 -04:00
Brandon Thomas
d5a2b36525
promo pricing
2026-09-18 12:09:19 -04:00
Brandon Thomas
e3c553ff2c
wan 3.0 client bindings
2026-09-18 12:00:58 -04:00
Brandon Thomas
6a35fccba3
standardize / cleanup video batch sizes
2026-09-18 09:45:53 -04:00
Brandon Thomas
db925450c5
video batching
2026-09-18 09:36:01 -04:00
Brandon Thomas
90f1fcb25f
prices
2026-09-18 09:17:00 -04:00
Brandon Thomas
0245058e05
tests
2026-09-18 09:12:50 -04:00
Brandon Thomas
5d311b7a20
increase batch counts
2026-09-18 09:07:06 -04:00
Brandon Thomas
2a43d929ec
update margins
2026-09-17 12:10:31 -04:00
Brandon Thomas
437bbadd0f
seedance 1080p price is going up
2026-09-17 11:35:24 -04:00
Brandon Thomas
dab29e1cc0
don't turn off audio for seedance
2026-09-16 17:27:24 -04:00
Brandon Thomas
70eec108fa
gate quicktime uploads
2026-09-15 19:11:41 -04:00
Brandon Thomas
7dd5331232
hide behind feature flag
2026-09-15 18:48:36 -04:00
Brandon Thomas
d368abe867
advertise mov feature flag, frontend UX
2026-09-15 16:22:19 -04:00
Brandon Thomas
ef2710fcc8
wip
2026-09-14 15:40:33 -04:00
Brandon Thomas
ad08682610
support seedance 2.5 quicktime output
2026-09-14 15:40:32 -04:00
Brandon Thomas
9c1633bd9c
high bitrate seedance 2.5
2026-09-12 13:22:42 -04:00
Brandon Thomas
cb1bea9d0a
remove the desktop app from the repo
2026-09-12 12:23:46 -04:00
Brandon Thomas
4c890b790c
bump artcraft to 0.37 ( #1942 )
2026-09-11 01:04:54 -04:00
Brandon Thomas
7b88737c45
fix tauri for omni apis ( #1941 )
2026-09-11 01:03:53 -04:00
Brandon Thomas and Hanashi
7fb81500a7
rename CLAUDE.md to AGENTS.md ( #1940 )
...
Co-authored-by: Hanashi <shared2@storyteller.ai >
2026-09-10 21:55:17 -04:00
Brandon Thomas and Hanashi
74207e3520
gpt-image-2.5 ( #1937 )
...
Co-authored-by: Hanashi <shared2@storyteller.ai >
2026-09-09 16:37:35 -04:00
Brandon Thomas and Hanashi
60be62cb71
fix fal client error ( #1929 )
...
Co-authored-by: Hanashi <shared2@storyteller.ai >
2026-09-08 18:47:53 -04:00
hanashi
0fa098dd38
more providers ( #1922 )
2026-09-01 10:45:02 -04:00
hanashi
393672988e
mitigations to prevent stuck jobs ( #1920 )
...
- timeouts on db
- timeouts on http
- job health check loop staleness
- fail fast
2026-08-28 17:08:51 -04:00
hanashi
44ff9ce338
mcp sessions ( #1917 )
2026-08-27 13:05:55 -04:00