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
|
89f22deaff
|
Remove fds from the proxy recv epoll when they're being closed
|
10 years ago |
Con Kolivas
|
dd4b563cb9
|
Clean up and test return values of share decoding in submit_share
|
10 years ago |
Con Kolivas
|
484bdbaad2
|
Cosmetic
|
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
|
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 |
Con Kolivas
|
d8eaa0b4e9
|
Rate limit proxy recruiting to one thread at a time
|
10 years ago |
Con Kolivas
|
6b3cd82525
|
Revert "Use async send proc as a separate thread from workqueues"
This reverts commit 7de43b1c6e .
|
10 years ago |
Con Kolivas
|
51670edb61
|
Move to only reconnect the client sending shares to the dead proxy to smooth out reconnects
|
10 years ago |
Con Kolivas
|
7de43b1c6e
|
Use async send proc as a separate thread from workqueues
|
10 years ago |
Con Kolivas
|
08a997e190
|
Remove the unused msg_id field
|
10 years ago |
Con Kolivas
|
0dece89fa3
|
Fix const warning
|
10 years ago |
Con Kolivas
|
df7d17f3a9
|
Ensure we use int64 for internal jobid throughout and add the string to debug message from the upstream pool
|
10 years ago |
Con Kolivas
|
b3589a71f3
|
Add proxy info to verbose share result logging
|
10 years ago |
Con Kolivas
|
d9b27c612c
|
Add received proxy share result to verbose logging output
|
10 years ago |
Con Kolivas
|
af21689d67
|
Don't reconnect generator immediately after the reconnect message, waiting for the first proxy_alive test on the new instance
|
10 years ago |
Con Kolivas
|
7e343244ea
|
Change message slightly since we don't necessarily reconnect
|
10 years ago |
Con Kolivas
|
3e760f1993
|
Reconnect parent proxy even if subproxies are alive
|
10 years ago |
Con Kolivas
|
4d25a197e7
|
Only have one thread trying to reconnect a proxy at a time
|
10 years ago |
Con Kolivas
|
2cc67dab43
|
Only one workqueue will suffice in the generator when there's no conflict over resources
|
10 years ago |
Con Kolivas
|
6e95cd1f66
|
Revert "Use generic workqueues for the recruit subproxy function"
This reverts commit 0ecd5b5098 .
|
10 years ago |
Con Kolivas
|
b153be29fa
|
Revert "Use generic workqueues for the proxy reconnect function"
This reverts commit e6ce49d2ef .
Holds up workqueues too long.
|
10 years ago |
Con Kolivas
|
41388a6e8c
|
Add proxy details to notify logging
|
10 years ago |
Con Kolivas
|
6b911d71d6
|
Send stratifier generic dead proxy message on submit share fail to drop all clients
|
10 years ago |
Con Kolivas
|
e6ce49d2ef
|
Use generic workqueues for the proxy reconnect function
|
10 years ago |
Con Kolivas
|
0ecd5b5098
|
Use generic workqueues for the recruit subproxy function
|
10 years ago |
Con Kolivas
|
23aa6a623a
|
Create two workqueues for the generator
|
10 years ago |
Con Kolivas
|
3f103ef67e
|
Use async send proc in the generator
|
10 years ago |
Con Kolivas
|
234f76f8e5
|
Force a reconnect send to clients that have been given the reconnect flag already and are requested to reconnect again
|
10 years ago |
Con Kolivas
|
0d39d22c16
|
Use the disable_subproxy function for all proxies including the parent and ensure we message the stratifier about all dead proxies, leaving recruitment only to on demand
|
10 years ago |
Con Kolivas
|
0afbf3eff2
|
Only consider a proxy dead if all subproxy connections are also dead
|
10 years ago |
Con Kolivas
|
396b656c82
|
Use the correct json
|
10 years ago |
Con Kolivas
|
8dbf39dae5
|
Reconnect clients that are sending shares that can't be processed
|
10 years ago |
Con Kolivas
|
dffc938519
|
Free buffer used in generator
|
10 years ago |
Con Kolivas
|
235cdf3c96
|
Flag proxies as dead if they fail connect_proxy
|
10 years ago |
Con Kolivas
|
4cd554a238
|
Set the reconnect time on a proxy when a read socket detects a disconnection
|
10 years ago |
Con Kolivas
|
2055f0e2e8
|
Demote nonce length warning for subproxies
|
10 years ago |
Con Kolivas
|
41f042c3e5
|
Duplicate the actual jobid json object to return when submitting shares and use an integer consistently as the internal jobid
|
10 years ago |
Con Kolivas
|
8dd1754426
|
Close socket reliably in generator
|
10 years ago |
Con Kolivas
|
9de62bdea9
|
Reverse the waiting order between generator and stratifier in proxy mode
|
10 years ago |
Con Kolivas
|
29ebae7410
|
Fix incorrect cs being used in proxy_send
|
10 years ago |
Con Kolivas
|
e9af372a56
|
Reap old subproxies when they're no longer in use
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
14805ce8fa
|
Send stratifier deadproxy message if it's trying to send shares to it
|
10 years ago |
Con Kolivas
|
eab6c1ba64
|
Add more info to missing jobid notice
|
10 years ago |
Con Kolivas
|
b96106a414
|
Inform stratifier of deadproxy on every failed proxy_alive call
|
10 years ago |
Con Kolivas
|
eed7df1826
|
Do all the proxy recruitment within the new thread
|
10 years ago |