Russell Harrower on Nostr: Just made some server improvements as, MongoDB seems to randomly timeout, or ...
Just made some server improvements as, MongoDB seems to randomly timeout, or disconnect if inactive in Deno.
Would love to know how others are keeping their MongoDB connection open in Deno. As we have had to put a watcher in, and run 3 instances of the application.
Which is not a bad thing at least if one goes down we have 3 more per server, and it will try and fix it self.
Published at
2024-09-06 05:29:35Event JSON
{
"id": "c89a8279fff8fb442ce4cc1b96e10a6d040a2486b36e2d19109c23cae8fd98c8",
"pubkey": "a43ed4bbc90c4fd721cbbce986d27c60317454b094bc28b5c967dc4937f43667",
"created_at": 1725600575,
"kind": 1,
"tags": [
[
"proxy",
"https://podcastindex.social/users/russell/statuses/113088959307659092",
"activitypub"
]
],
"content": "Just made some server improvements as, MongoDB seems to randomly timeout, or disconnect if inactive in Deno.\n\nWould love to know how others are keeping their MongoDB connection open in Deno. As we have had to put a watcher in, and run 3 instances of the application.\n\nWhich is not a bad thing at least if one goes down we have 3 more per server, and it will try and fix it self.",
"sig": "72a70dededcac1c86f4d0531a6f5c4822bb035a38d1ece7a5bb50506161bb2b4b1700a3528abe0b63e6da0f622bb4c3fd3565eeca1c29d9a73e78f8953eebea2"
}