Con Kolivas
|
6e41ff823f
|
Demote debug
|
10 years ago |
Con Kolivas
|
08622a4b61
|
Hand old sessionid to new client
|
10 years ago |
ckolivas
|
c7dbb0114d
|
Rework sessionid matching to not store client structure
|
10 years ago |
ckolivas
|
bf1c2ef09b
|
Cope with variable length ckdb responses on the heartbeat as well
|
10 years ago |
Con Kolivas
|
b780dc0061
|
Demote message verbosity for no auth response when we know ckdb is offline
|
10 years ago |
Con Kolivas
|
8091b77c7c
|
Allow arbitrary length responses from ckdb in send_recv_auth to allow for hundreds of workers
|
10 years ago |
Con Kolivas
|
f6abc404d5
|
Change parsing of ckdb response, expecting an array of workers
|
10 years ago |
Con Kolivas
|
dda8187e49
|
Create workers if they don't already exist when set_worker_mindiff is called
|
10 years ago |
Con Kolivas
|
03149c1354
|
Create the user if it doesn't already exist in set_worker_mindiff
|
10 years ago |
Con Kolivas
|
0900b5d5c5
|
Check for no user in __drop_client
|
10 years ago |
Con Kolivas
|
8916a8e1d5
|
Pick up the client address as soon as we generate the stratum instance to avoid passing it round repeatedly with messages
|
10 years ago |
Con Kolivas
|
5261837b8f
|
Add information about throttled clients, showing only when they're first throttled
|
10 years ago |
Con Kolivas
|
cb3960be50
|
Add client drop message before we delete structures
|
10 years ago |
Con Kolivas
|
93eb641d21
|
Rate limit auth backoff message
|
10 years ago |
Con Kolivas
|
7959e72520
|
Add client IP address to notifications
|
10 years ago |
Con Kolivas
|
b92062d6ea
|
Add IP address to client drop message
|
10 years ago |
Con Kolivas
|
b7e9291fc5
|
Add more info to client drop messages using notice_msg_entries
|
10 years ago |
Con Kolivas
|
8b434661d7
|
Add more verbose information to drop client messages using add_msg_entry
|
10 years ago |
Con Kolivas
|
d4cd88ac58
|
Add helper functions for storing messages to be dumped outside of other locks
|
10 years ago |
Con Kolivas
|
0c61ed1c09
|
Make worker count more robust by using the same locking for stats
|
10 years ago |
Con Kolivas
|
9706b52965
|
Recycle used client structs instead of freeing them
|
10 years ago |
Con Kolivas
|
92dacd8513
|
Avoid cute locking
|
10 years ago |
Con Kolivas
|
1b077f2a05
|
Log to files outside of instance lock
|
10 years ago |
Con Kolivas
|
ca5c7da81b
|
Provide helper functions for storing log text and their associated filenames to be written to in unlocked code
|
10 years ago |
Con Kolivas
|
3047ee5c8f
|
Use the more generic ckmsg_t for the json_lists
|
10 years ago |
Con Kolivas
|
d4304de798
|
These weren't the droids we were looking for.
|
10 years ago |
Con Kolivas
|
7fa3dc2529
|
Only dec worker if user exists
|
10 years ago |
Con Kolivas
|
21194cfbb4
|
Count dropped workers in _dec_instance_ref
Conflicts:
src/stratifier.c
|
10 years ago |
Con Kolivas
|
cabc01d7cd
|
Use asynchronous send_proc in the stratifier
|
10 years ago |
Con Kolivas
|
2865a0378f
|
Keep track of per process ckwqs in the ckpool structure
|
10 years ago |
Con Kolivas
|
4c4b48795b
|
Use the generic workqueues for do_update
|
10 years ago |
Con Kolivas
|
2d94b18b99
|
Create a pool of workqueue threads for use by the stratifier using them for share processing, stratum receiving and transaction processing
|
10 years ago |
Con Kolivas
|
a23060d786
|
Fix buf dereference error
|
10 years ago |
Con Kolivas
|
08ef8ef3de
|
Differentiate pong from other spurious messages from clients
|
10 years ago |
Con Kolivas
|
42f14a9536
|
Add full lock tracking for mutexes and rwlocks
|
10 years ago |
Con Kolivas
|
042360bf40
|
Don't try to act on inactive clients
|
10 years ago |
Con Kolivas
|
9f07cc11e0
|
Export the char_entry_t type
|
10 years ago |
Con Kolivas
|
9dd3d95064
|
Fix dereference errors with dropall
|
10 years ago |
Con Kolivas
|
03b25370fe
|
Check for client ref counts in dropall
|
10 years ago |
Con Kolivas
|
745d95246c
|
Check for client ref counts in dropall
|
10 years ago |
Con Kolivas
|
9c1e5f2332
|
Send reconnect instead of dropall to stratifier when killing an upstream proxy and drop them lazily
|
10 years ago |
Con Kolivas
|
67fd11bc13
|
Convert use of %ld to PRId64 in stratifier
|
10 years ago |
Con Kolivas
|
67c00d57c6
|
Fine grain the locking for read/write sections using the upgradeable variants in the stratifier where suitable
|
10 years ago |
Con Kolivas
|
6db343fec6
|
Fix 1st 10 minute preauth to still grab suggested diff and auth the rest
|
10 years ago |
Con Kolivas
|
0a616baa46
|
Don't send any preauths for already authorised users for the first 10 minutes after their first successful auth
|
10 years ago |
Con Kolivas
|
15787d8932
|
We may as well read the poolstats when not in standalone mode as well on restart since we may expose them
|
10 years ago |
Con Kolivas
|
5805e83fe1
|
Trivial comment update
|
10 years ago |
Con Kolivas
|
0d2d81baba
|
Store and restore lastupdate stats by user and worker and use it to decay restored stats
|
10 years ago |
Con Kolivas
|
baf9a6497d
|
Store last update time by user and worker
|
10 years ago |
Con Kolivas
|
9d774a4f9b
|
Store the lastupdate time with the pool stats and decay the value if it's been longer than 2 minutes
|
10 years ago |