blocknetdx / eth-payment-processor

eth-payment-processor
3 stars 4 forks source link

payment processor using 100% CPU #26

Closed ConanMishler closed 1 year ago

ConanMishler commented 2 years ago

@tryou is reporting the payment processor (which runs /app/manager/main.py in the exrproxy-env-payment-1 container) is using 100% of one CPU, even when no payment blockchains are attached to EXR ENV. It should be sitting idle, waiting for payment blockchains to be attached. @tryou's comments:

flat 100% cpu usage with no connected chain and even 'between' the connect attempts  =
problem with multithreading, main loop refresh timers, conflict between 2 py modules, etc

and

looking on GH, the big bag of changes made on Jan 11, 2022,
seems it went offroad from here,
maybe something with flask, async, threading, no idea