This website requires JavaScript.
Explore
Help
Register
Sign In
marty
/
linkspin
Watch
1
Star
0
Fork
0
You've already forked linkspin
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
229
Commits
2
Branches
0
Tags
90596b4d0fccdb1a68551e99ecdfb38c47caf763
Commit Graph
3 Commits
Author
SHA1
Message
Date
martbost
82e25de691
docstore: skip rewriting a document whose body equals what MySQL already holds (whole-document rewrites on every save filled core with 115 GB of binlogs, 2026-11-15); qa/docstore-skip.test.cjs
...
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com
>
2026-11-15 04:14:35 -06:00
martbost
d6fd0c8e04
docstore.js: claim() for once-across-copies actions (same file as Downline Banners)
...
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com
>
2026-11-13 10:35:12 -06:00
martbost
1554c262a6
LinkSpin data in MySQL (Marty 2026-11-13: 'everything database-driven'). docstore.js: every .json/.jsonl data document under DATA_DIR lives in MySQL table docs (DOCSTORE_URL), served to the modules through their own fs calls from an in-memory copy, written through in order; one writer at a time (docs_writer), so an older copy during a deploy can never overwrite newer data; first boot imports each file and sets it aside (.imported-<date>). Spin-link clicks are rows in rot_hits (one insert per click instead of rewriting a 20 MB document; every click kept). Kept as files on purpose: chain-index cache, uploads, geo db, kits, marks, queues. Admin sessions load after the store. Rehearsed on a copy: 52/54 documents byte-identical (rotator.json minus hits, kb.json seeds refreshed), 97,579 clicks moved, links + clicks work after restart.
...
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com
>
2026-11-13 09:25:59 -06:00