298 Commits (73268c15c5ceb4242abf11882a1e36b2b8631295)

Author SHA1 Message Date
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" 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" 10 years ago
Con Kolivas b153be29fa Revert "Use generic workqueues for the proxy reconnect function" 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 cada930aa8 Use async senc 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
Con Kolivas c33362c8ad Make subproxy recruiting asynchronous to not delay other proxy loop functions 10 years ago
Con Kolivas 3ba0aeee69 Disable and remove the parent proxy from the subproxy list on reconnect as well 10 years ago
Con Kolivas f68e398958 Add more debug info for proxies 10 years ago
Con Kolivas 2562068163 Remove any concept of clients per proxy from the generator and simply display how many on connecting the parent' 10 years ago
Con Kolivas a1eabf7305 Send a dead proxy notification to the stratifier when we disable a subproxy to switch clients on it 10 years ago
Con Kolivas 40ebe7d1b0 Delete subproxies from the correct hashlist 10 years ago
Con Kolivas c295d6a8d4 Do a soft failover to backup proxies, not disconnecting them unless the upstream subproxy no longer exists, but a hard failover to higher priority proxies 10 years ago
Con Kolivas e2826e3c08 Add minor comment about memory leak 10 years ago