Commit Graph

9 Commits

Author SHA1 Message Date
Nolan Lawson 270df188cb
Store IDB data for 1 week rather than 2 weeks (#498)
Based on issues I'm seeing on iOS Safari, I'm guessing that my IDB caching is too aggressive and is hitting origin storage limits, which causes IDB transactions in safari to fail silently and never call any transaction callbacks (`onblocked`, `onerror`, `oncomplete`).

This is pretty bad and causes Pinafore to basically just not work unless you clear site data, which we should avoid. 2 weeks was probably unnecessary anyway; in a social network, who cares about content that's 2 weeks old?
2018-08-26 15:38:54 -07:00
Nolan Lawson 8d5690d63d
remove get() with string from Svelte calls (#169)
* remove get() with string pt 1

* remove get() with string pt 2

* fix typo

* fix some null exceptions in get()

* fixup code style
2018-04-19 09:37:05 -07:00
Nolan Lawson e431c29efa
update and pin all deps (#164) 2018-04-18 20:43:13 -07:00
Nolan Lawson 2544b71251 use lodash-es for slightly smaller bundle size 2018-04-05 17:57:36 -07:00
Nolan Lawson da2daa955d fix statuses being deleted from threads 2018-03-10 20:24:07 -08:00
Nolan Lawson f42a07162b simplify idb schema 2018-03-08 23:18:18 -08:00
Nolan Lawson e3b6a9b758 fix offline threads 2018-03-08 18:31:59 -08:00
Nolan Lawson 144468ade2 lint fixup 2018-02-13 19:35:46 -08:00
Nolan Lawson 92f6dd96c0 implement periodic db cleanup 2018-02-13 19:34:37 -08:00