Added exponential backoff when errors occur in sicspoll
This commit is contained in:
@ -36,7 +36,6 @@ static int pollHdb(struct __POLLDRIV *self, SConnection * pCon)
|
||||
|
||||
assert(node != NULL);
|
||||
|
||||
self->nextPoll = time(NULL) + self->pollIntervall;
|
||||
if (GetHipadabaPar(node, &newVal, pCon) == 1) {
|
||||
ReleaseHdbValue(&newVal);
|
||||
return 1;
|
||||
@ -84,7 +83,6 @@ static int pollScript(struct __POLLDRIV *self, SConnection * pCon)
|
||||
int status;
|
||||
Tcl_Interp *pTcl = InterpGetTcl(pServ->pSics);
|
||||
|
||||
self->nextPoll = time(NULL) + self->pollIntervall;
|
||||
|
||||
MacroPush(pCon);
|
||||
status = Tcl_Eval(pTcl, (char *) self->objPointer);
|
||||
|
Reference in New Issue
Block a user