Con Kolivas
|
794770422d
|
Count effective number recruited and subtract that from the recruit requests count
|
10 years ago |
ckolivas
|
01c00ed3c2
|
Too much recruiting
|
10 years ago |
ckolivas
|
93a1414e29
|
Explicitly check for HUP in proxy_recv, avoiding an attempt at reading a line
|
10 years ago |
ckolivas
|
e3e83df196
|
Add a small sleep between attempts at pinging the stratifier at startup to avoid floods of messages
|
10 years ago |
ckolivas
|
47be81bc04
|
Cope with null message in send_proc
|
10 years ago |
ckolivas
|
16bd2fc352
|
Redirect from existing parent when child gets a reconnect
|
10 years ago |
ckolivas
|
90ab75ce24
|
Drop subproxies when the parent proxy thread exits
|
10 years ago |
ckolivas
|
0fa55f311f
|
Finesse what messages to send
|
10 years ago |
ckolivas
|
d103ea97df
|
Only kill off proxy if it's actually dead
|
10 years ago |
ckolivas
|
30297c3ba2
|
Revert ret < 0 check but keep recruiting of new subproxies
|
10 years ago |
ckolivas
|
576ac8f71a
|
Check return value of subsequent read_socket_line, disabling a subproxy if it has failed and recruit more subproxies if required
|
10 years ago |
ckolivas
|
bc7d59ad66
|
Recruit extra subproxies on a new parent with a small nonce size, being more verbose about proxy recruitment
|
10 years ago |
ckolivas
|
e6b79715cb
|
Abstract out recruit_subproxies function
|
10 years ago |
ckolivas
|
3fd9ead54a
|
Parse any extra data already in the cs buffer in proxy_recv before returning to the epoll loop
|
10 years ago |
Con Kolivas
|
d4304de798
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
ddfc0dbfd4
|
Only dec worker if user exists
|
10 years ago |
Con Kolivas
|
c6336cdc26
|
Count dropped workers in _dec_instance_ref
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
66e6b1fa76
|
Unused variable
|
10 years ago |
Con Kolivas
|
222880d234
|
Revert "Create generic workqueue function and message receiving and parsing helpers"
This reverts commit d594f86520 .
|
10 years ago |
Con Kolivas
|
f027885ff6
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
228c2cf19b
|
These weren't the droids we were looking for
|
10 years ago |
Con Kolivas
|
8386d8aede
|
Reset the recruit count in the event of failed proxy_alive test
|
10 years ago |
Con Kolivas
|
d75dd5543c
|
Try async messages again
|
10 years ago |
Con Kolivas
|
d745e7135d
|
Remove the old proxy on a reconnect so we don't send shares nowhere
|
10 years ago |
Con Kolivas
|
918a6ebe0c
|
Make the stratifier tell the generator precisely how many extra connections we need
|
10 years ago |
Con Kolivas
|
a6ac868cd3
|
Rework subproxy recruitment to allow requests to stack but abandon them if the subproxy is not alive
|
10 years ago |
Con Kolivas
|
daa478f1f5
|
Off by one on headroom
|
10 years ago |
Con Kolivas
|
cd342551a8
|
Count reconnecting clients as part of the headroom consumed
|
10 years ago |
Con Kolivas
|
89f22deaff
|
Remove fds from the proxy recv epoll when they're being closed
|
10 years ago |
Con Kolivas
|
ad5def42d2
|
Reassess headroom and recruit extra proxies upon receiving each new subscribe
|
10 years ago |
Con Kolivas
|
565d253e3f
|
Reassess on all notifies
|
10 years ago |
Con Kolivas
|
6f08c301e9
|
Tweak reconnects
|
10 years ago |
Con Kolivas
|
95102da854
|
Only set current proxy to a parent proxy
|
10 years ago |
Con Kolivas
|
7a4cab1a88
|
Reset parent proxy as well in reap_proxies and add some sanity checks, removing now unused retired proxies list
|
10 years ago |
Con Kolivas
|
0e70b8bf19
|
Reuse proxies that are still alive and no longer have any clients bound to them
|
10 years ago |
Con Kolivas
|
2054f116d7
|
Only reconnect with the parent proxy notify
|
10 years ago |
Con Kolivas
|
dd4b563cb9
|
Clean up and test return values of share decoding in submit_share
|
10 years ago |
Con Kolivas
|
55d616817b
|
Use the proxy id to determine if we should try reconnecting clients on notify
|
10 years ago |
Con Kolivas
|
75b9a4f140
|
Reconnect clients on every notify from a subproxy
|
10 years ago |
Con Kolivas
|
484bdbaad2
|
Cosmetic
|
10 years ago |
Con Kolivas
|
7009fb1077
|
Reconnect clients whenever we detect a new notify from a subproxy of the current proxy
|
10 years ago |
Con Kolivas
|
73dab07652
|
Add proxy selection info
|
10 years ago |
Con Kolivas
|
9234ced6f2
|
Give subproxy the lowid of the parent proxy
|
10 years ago |
Con Kolivas
|
668d96710e
|
Check lowids in selecting stratum data
|
10 years ago |
Con Kolivas
|
2b6b3fdbd7
|
Look for replacement proxies in wait_best_proxy as well
|
10 years ago |
Con Kolivas
|
2f2d454763
|
Create new instances of proxies on reconnect instead of trying to overwrite old ones on reconnect
|
10 years ago |
Con Kolivas
|
14873b44b7
|
Convert proxy id to int64
|
10 years ago |
Con Kolivas
|
ac86d9b736
|
Add an HASH_REPLACE_I64 helper macro
|
10 years ago |
Con Kolivas
|
7f129e93c8
|
Revert "Revert "Rate limit proxy recruiting to one thread at a time""
This reverts commit 80c0ddb346 .
Wrong revert.
|
10 years ago |
Con Kolivas
|
80c0ddb346
|
Revert "Rate limit proxy recruiting to one thread at a time"
This reverts commit d8eaa0b4e9 .
|
10 years ago |