|
1bdd67d659
|
Migration fixes, and make 'check' delete invalid data.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3836 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-12 02:51:43 +00:00 |
|
|
483638a7e6
|
I guess we support sub-millisecond timestamps. Who knew?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3835 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-12 01:44:11 +00:00 |
|
|
50bef73200
|
To calculate an ID, take the utf-8 message, convert it to utf-16, and then throw away the high bytes. Of course.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3834 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-11 02:44:27 +00:00 |
|
|
d4135f7133
|
Message IDs are apparently generated from the latin1 encoding of a message. Added a command to check/fix that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3833 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-10 03:58:33 +00:00 |
|
|
557ae6ee5a
|
Oops, one more leak fix that was sitting on this machine.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3832 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-08 03:04:57 +00:00 |
|
|
07b4f2b08f
|
I think I imagined this message size limit.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3831 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-08 02:07:23 +00:00 |
|
|
9a75af8146
|
Don't add a message until its previous message exists.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3830 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-06 03:51:25 +00:00 |
|
|
6b20d69976
|
Tweaking memory stats and trying to figure out why startup got so much slower.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3828 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-06 03:28:29 +00:00 |
|
|
8f35004a01
|
Reduce packetstream allocation frequency.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3825 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-06 00:46:34 +00:00 |
|
|
e59eb66c1d
|
sqlite memory usage, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3824 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 23:57:15 +00:00 |
|
|
1aa4b0e590
|
Hook up some stats from the SSB side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3822 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 20:18:58 +00:00 |
|
|
ef9e42e030
|
malloc and leak fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3821 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 19:58:22 +00:00 |
|
|
059024452c
|
Add some CPU and memory info to stats.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3820 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 17:52:37 +00:00 |
|
|
39a1acaf38
|
Unused function.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3819 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 17:08:38 +00:00 |
|
|
8ecc07452e
|
Fix socket leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3818 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 17:06:51 +00:00 |
|
|
7733cb2604
|
Maybe don't destroy the signature if we're going to try to validate again.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3815 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-03 02:38:05 +00:00 |
|
|
157209e9b5
|
Debugging a thing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3814 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-03 02:14:50 +00:00 |
|
|
cd51edcd8f
|
I think this fixes the questionable archaic sequence / author order issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3813 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-03 02:00:05 +00:00 |
|
|
0ddb86b5a8
|
These indexes weren't helping in practice, so remove them. Avoid some queries during a full refresh to load in maybe 1/3rd the time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3800 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-29 19:00:44 +00:00 |
|
|
e84ced6f79
|
Add some useful indexes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3798 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-27 01:42:48 +00:00 |
|
|
9fd4be0e4a
|
Wow, load was slow because websocket sends were slow, because TextEcoder was slow. Do it in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3796 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-27 01:15:54 +00:00 |
|
|
7b32067b07
|
Make the 'apps' app list core apps, and populate apps lists when importing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3795 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-26 02:49:45 +00:00 |
|
|
25ee0a3561
|
Trying to sort out connection cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3793 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-26 01:15:04 +00:00 |
|
|
d0c89991be
|
Allow exporting from a non-default db location. I'm running over NFS on this instance.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3789 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-23 19:14:43 +00:00 |
|
|
0a580b60b1
|
Safer?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3788 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-23 12:52:55 +00:00 |
|
|
24116f498f
|
Null check?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3787 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-22 22:26:39 +00:00 |
|
|
5623cba7c3
|
Fix a buffer size / disconnect issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3786 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-22 21:20:43 +00:00 |
|
|
bd81b2acf5
|
More bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3785 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-22 20:47:10 +00:00 |
|
|
b2a552b3e0
|
Needs more work, but several experiments that make things more responsive under load.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3783 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-22 20:13:14 +00:00 |
|
|
0f03701043
|
Fixed loads of memory leaks and related issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3782 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-22 18:50:29 +00:00 |
|
|
98de9b037a
|
An attempt at making some live graphs of relevant stats. Needs more thought.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3780 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-21 02:53:15 +00:00 |
|
|
df0bb102dc
|
Kill tasks when their websocket closes. Sigh.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3779 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-21 00:49:03 +00:00 |
|
|
1734c88627
|
Try to fix some connection issues. Urge to rewrite rising.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3778 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-20 04:01:45 +00:00 |
|
|
df94378b96
|
Actually expire broadcasts.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3777 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-20 03:35:03 +00:00 |
|
|
1515525a1b
|
Move data/global/settings.json into the database. Improved some error plumbing along the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3775 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-18 02:50:46 +00:00 |
|
|
0b5017b208
|
Import stock apps into /~core/ at launch. Makes the first time experience vaguely work with only running and clicking in the web interface.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3774 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-17 22:00:42 +00:00 |
|
|
c864041fa0
|
Fix a handful of errors and warnings I've seen. Gets further running in docker, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3773 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-17 21:46:32 +00:00 |
|
|
e9e1a3e80d
|
Trace libuv's idle time metric.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3772 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-17 01:29:35 +00:00 |
|
|
1ddaa7deb0
|
Fix a use after free.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3771 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-16 23:44:10 +00:00 |
|
|
019ab99ecc
|
Trying to better understand import/export leaks. Possibly cleaned up after tasks better, but mostly just tweaked counters.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3762 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-15 17:40:24 +00:00 |
|
|
0bcc7d8c59
|
Always fetch the promise JSValue and ID when we allocate one. Make it impossible that we've freed it before we return it. Hopefully fixes leaks. Definitely not worse for performance.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3758 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-14 03:05:37 +00:00 |
|
|
e1f868730f
|
Tracing these list lengths sometimes dominates performance, so manually keep count for now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3756 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-13 01:08:17 +00:00 |
|
|
7ba1e6980f
|
Some UI tweaks and some sqlite performance things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3755 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-13 00:16:27 +00:00 |
|
|
53aac8d23a
|
Fixed a time int overflow issue on raspberry pi.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3752 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-11 03:18:15 +00:00 |
|
|
873019f054
|
Binary search exports, too. Is that all the things? This could still be improved, some. And tested.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3750 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-10 01:50:58 +00:00 |
|
|
86aa5e4d1e
|
Better feedback when importing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3743 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-09 01:32:33 +00:00 |
|
|
26150f98e1
|
Binary search import records.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3742 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-08 21:56:57 +00:00 |
|
|
c02a3d3659
|
Fixed https.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3734 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-05 01:58:12 +00:00 |
|
|
24cf18651a
|
Fixed some error reporting.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3733 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-03 02:25:11 +00:00 |
|
|
df5dfa1539
|
Hooked up the trace link to perfetto.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3730 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-01-02 19:10:45 +00:00 |
|