davout / bitcoin-central

Bitcoin Central

Home Page:https://bitcoin-central.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix the bitcoin polling logic

davout opened this issue · comments

It's suboptimal to poll the client for each user every 3 minutes, especially with no concurrency lock

Concurrency lock added, the logic still could use some performance improvements.

bitcoin polling is much more performant right now, and i can't think about a better one right now.
someone feel free to reopen with good ideas :)