remove redundent comments

main
xiaosuGW 3 years ago
parent 5d77f8efb5
commit 404d6fce1a

@ -28,6 +28,9 @@ sandbox_close_http(struct sandbox *sandbox)
client_socket_close(sandbox->client_socket_descriptor, &sandbox->client_address);
}
/**
* Remove the client fd from epoll
*/
static inline void
sandbox_remove_from_epoll(struct sandbox *sandbox)
{

@ -50,7 +50,7 @@ struct sandbox {
struct arch_context ctxt; /* register context for context switch. */
uint64_t request_arrival_timestamp; /* Timestamp when request is received */
uint64_t enqueue_timestamp; /* Timestamp when sandbox request is enqueued */
uint64_t enqueue_timestamp; /* Timestamp when sandbox request is enqueued to the global queue*/
uint64_t allocation_timestamp; /* Timestamp when sandbox is allocated */
uint64_t response_timestamp; /* Timestamp when response is sent */
uint64_t completion_timestamp; /* Timestamp when sandbox runs to completion */

@ -76,7 +76,6 @@ sandbox_request_get_priority_fn(void *element)
*/
void
global_request_scheduler_minheap_initialize()
{ /* second parameter is set to true, means we will use lock for this queue since it is a global queue shared by all worker threads */
global_request_scheduler_minheap = priority_queue_initialize(4096, true, sandbox_request_get_priority_fn);
struct global_request_scheduler_config config = {

Loading…
Cancel
Save