You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set db_url (in index.js) to mongodb://tinos.ml:27017/?useNewUrlParser=true&useUnifiedTopology=true&connectTimeoutMS=3600000&socketTimeoutMS=1200000
Worst case scenario for slpdb we can set a 20min (or 1hr) timeout & if anything ever goes wrong it takes at least 20 mins for the crash to occur & a .sh or .bat script to $0 or %0 restart the whole process. The timeout sets the time for the server to effectively reboot if something bad happens.
I've raised a Windows compatibility issue with fountainhead-core. It turns out it can use mongodb module v4, whereas SLPDB only supports v3.
Here is the package.json I used to npm install in Win10. However I'll be switching back to WSL1 (Ubuntu) today, since there is a bug in node.exe which makes both SLPDB & SLPServe extremely slow. I decided to waste a couple days proving it to myself. Node doesn't really support Windows! More updates to the dependencies below are possible, these are just what I used to try speed up the Windows version:
I also set slpserve_timeout : 300000 due to extreme slowness in Windows. (I happen to know WSL1 is faster than WSL2 which is faster than Hyper-V which is faster than VirtualBox, and I was truly astounded that node.exe may be even slower than VBox.) Btw my exact version is v16.17.0 (v17 & up no longer support RIPEMD160).
I'm running SLPDB instance currently at slpdb.tinos.ml.
I also have a running sync journal on Reddit, here.
The text was updated successfully, but these errors were encountered:
I set
db_url
(inindex.js
) tomongodb://tinos.ml:27017/?useNewUrlParser=true&useUnifiedTopology=true&connectTimeoutMS=3600000&socketTimeoutMS=1200000
Worst case scenario for slpdb we can set a 20min (or 1hr) timeout & if anything ever goes wrong it takes at least 20 mins for the crash to occur & a
.sh
or.bat
script to$0
or%0
restart the whole process. The timeout sets the time for the server to effectively reboot if something bad happens.I've raised a Windows compatibility issue with fountainhead-core. It turns out it can use
mongodb
module v4, whereas SLPDB only supports v3.Here is the package.json I used to
npm install
in Win10. However I'll be switching back to WSL1 (Ubuntu) today, since there is a bug in node.exe which makes both SLPDB & SLPServe extremely slow. I decided to waste a couple days proving it to myself. Node doesn't really support Windows! More updates to the dependencies below are possible, these are just what I used to try speed up the Windows version:I also set
slpserve_timeout : 300000
due to extreme slowness in Windows. (I happen to know WSL1 is faster than WSL2 which is faster than Hyper-V which is faster than VirtualBox, and I was truly astounded that node.exe may be even slower than VBox.) Btw my exact version is v16.17.0 (v17 & up no longer support RIPEMD160).I'm running SLPDB instance currently at slpdb.tinos.ml.
I also have a running sync journal on Reddit, here.
The text was updated successfully, but these errors were encountered: