Closed pulord closed 5 years ago
I try to use flask, flask works perfect!
Japronto is a forking server. Your threads work in master process while your request workers are spawned when run() is called, the memory is copied.
If you really wanted this to work you would need to start threads post fork and limit everything to 1 worker but this is a bad design for a real world apps.
Japronto is a forking server. Your threads work in master process while your request workers are spawned when run() is called, the memory is copied.
If you really wanted this to work you would need to start threads post fork and limit everything to 1 worker but this is a bad design for a real world apps.
Thanks For your replay
In Handler, I can't access the right value of global varibale
use handler
But the get handler can't get changed variable value after changeThread call Best Regards !