merge job rusage and pending reason support
This commit is contained in:
parent
30824ae5ea
commit
cb0c7fe9e7
82 changed files with 4280 additions and 2561 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <string.h>
|
||||
#include <sys/epoll.h>
|
||||
#include <sys/socket.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "dataq.h"
|
||||
|
|
@ -355,6 +356,7 @@ static int handle_input(endpoint_t* ep)
|
|||
}
|
||||
|
||||
io_fsm_start(&(ep->fsm_in), pkt);
|
||||
ep->ts_last_in = time(NULL);
|
||||
}
|
||||
|
||||
rc = io_fsm_perform(&(ep->fsm_in));
|
||||
|
|
@ -388,6 +390,8 @@ static int handle_output(endpoint_t* ep)
|
|||
if (rc < 0) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
ep->ts_last_out = time(NULL);
|
||||
}
|
||||
|
||||
rc = io_fsm_perform(&(ep->fsm_out));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue