Changeset b3a7d8cccee63685274df0c1c37d214bae76fed3

Show
Ignore:
Timestamp:
05/04/09 18:51:34 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1241463094 +0000
git-parent:

[068f02cf3f9a4c2da07d38a1554f02352ba4fa11]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1241463094 +0000
Message:

fix this up, fix a long-standing, yet unnoticed bug in datastore. startcon_iep seems well behaved now, refs #119

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/stratcon_datastore.c

    r0b1d2f2 rb3a7d8c  
    527527  ds_job_detail *current, *last_sp; 
    528528  if(!(mask & EVENTER_ASYNCH_WORK)) return 0; 
    529  
     529  if(mask & EVENTER_ASYNCH_CLEANUP) return 0; 
    530530  if(!cq->head) return 0;  
    531531 
     
    609609        e->callback = stratcon_datastore_asynch_execute; 
    610610      e->closure = cq; 
    611       eventer_add(e); 
     611      eventer_add_asynch(cq->jobq, e); 
    612612      break; 
    613613  } 
  • src/stratcon_iep.c

    re7ae97b rb3a7d8c  
    1212#include "noit_check.h" 
    1313 
    14 #define SWEEP_DELAY { 0L, 10000L } /* 10ms */ 
     14#define SWEEP_DELAY { 0L, 100000L } /* 100ms */ 
    1515eventer_jobq_t iep_jobq; 
    1616 
     
    119119  newe->closure = nbatch; 
    120120 
    121   eventer_add(newe); 
     121  eventer_add_asynch(&iep_jobq, newe); 
    122122  return 0; 
    123123}