pegnet / pegnetd

The pegnet daemon to track txs, conversions, etc
Other
13 stars 14 forks source link

Database is Locked panic #89

Open Emyrk opened 4 years ago

Emyrk commented 4 years ago

The easiest way to reproduce this issue is to start syncing a node from scratch while hammering the api with slower queries (pegnetd get txs ADDRESS --asset PEG or something).

The easiest fix might to just add a retry to the sync loop.

WhoSoup commented 4 years ago

I just wrote a custom script to hammer the node with requests nonstop (concurrently, faster than it can handle them) and was unable to reproduce this behavior.

Emyrk commented 4 years ago

For some reason, @WhoSoup and I are getting vastly different performance results. I will have to resync from scratch to make sure it's not just my db.