Logo
Explore Help
Register Sign In
marty/linkspin
1
0
Fork 0
You've already forked linkspin
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
221 Commits 2 Branches 0 Tags
e545343fe0c4057bb71b52ed9f5cb1a9c8273800
Commit Graph

2 Commits

Author SHA1 Message Date
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
Powered by Gitea Version: 1.26.2 Page: 173ms Template: 6ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API