1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

api.c increase buffer size close to current code allowable limit

This commit is contained in:
Kano 2012-03-22 18:57:30 +11:00
parent 22ff7a4069
commit 3dee276308

2
api.c
View File

@ -140,7 +140,7 @@
// Big enough for largest API request
// though a PC with 100s of PGAs/CPUs may exceed the size ...
// Current code assumes it can socket send this size also
#define MYBUFSIZ 32768 // TODO: intercept before it's exceeded
#define MYBUFSIZ 65432 // TODO: intercept before it's exceeded
// Number of requests to queue - normally would be small
// However lots of PGA's may mean more