Commit Graph

20 Commits

Author SHA1 Message Date
Jude Nelson
30236bfb12 disable gc before the first fork 2017-10-31 20:55:30 -04:00
Jude Nelson
64deece4e7 garbage-collect explicitly when disabling/reenabling and when forking 2017-10-31 20:40:12 -04:00
Jude Nelson
f760a0a3fc if the intermediate child that starts the API daemon does not exit after 60 seconds, assume a deadlock occurred and kill it directly. 2017-10-29 22:46:17 -04:00
Jude Nelson
42b57c9268 reenable gc in grandchild 2017-10-28 13:35:38 -04:00
Jude Nelson
b9318b1c44 disable gc in intermediate child, and re-enable it in grandchild. appears to stop waitpid/gc deadlock in daemonization due to sqlite3 handles having custom __del__ implementations 2017-10-28 13:33:36 -04:00
Jude Nelson
db8b6d13e8 close all file descriptors when daemonizing 2017-10-19 14:29:07 -04:00
Aaron Blankstein
64605794f5 fixes the default port lookup issues 2017-09-07 13:03:53 -04:00
Aaron Blankstein
d601eca369 blockstack_client/utils.py 2017-09-07 11:57:01 -04:00
Aaron Blankstein
f1fd32b697 only print 'friendly' newline errors when stderr is attached to a tty 2017-08-23 15:05:46 -04:00
Aaron Blankstein
3886e76c94 improved wallet setup interactions + improved error output 2017-08-23 14:38:38 -04:00
Aaron Blankstein
c878b62c8a /usr/bin/env python -> python2. our code is not python3 friendly, we should specify that 2017-08-17 13:40:01 -04:00
Jude Nelson
21930e2846 log single-threaded behavior for debugging 2017-06-21 22:43:51 -04:00
Jude Nelson
7e8a34ff7b move ScatterGather to utils 2017-05-17 22:05:32 -04:00
Jude Nelson
225e1a08af constant-time string comparison for passwords 2017-05-02 11:52:37 -04:00
Jude Nelson
45d217bdd7 clean up imports; take over some methods from config 2017-04-27 19:34:41 -04:00
Jude Nelson
e19a35f140 print_result() to a specific file 2017-02-28 16:27:15 -05:00
Jude Nelson
05736acc36 fix bugs in daemonization logic 2017-02-25 00:40:39 -05:00
Jude Nelson
9a8b77ebcb factor out daemonization logic so we can reuse it 2017-02-24 19:18:27 -05:00
Jude Nelson
a58418646a need sys.exit 2017-02-06 15:15:28 -05:00
Jude Nelson
e4455caf96 Repository re-organization 2017-01-17 11:16:19 -05:00