config->nhosts = 0;
config->user = NULL;
config->open_flags = O_RDONLY | O_NONBLOCK;
- config->cheetah = VAR_OFF;
/* Plugins */
config->plugins = mk_mem_malloc_z(sizeof(struct plugins));
struct host *hosts;
mode_t open_flags;
- int cheetah; /* VAR_ON / VAR_OFF */
struct plugins *plugins;
};
mk_socket_set_nonblocking(socket);
cr = mk_request_client_create(socket);
-
+
/* Update requests counter */
mk_sched_update_thread_status(MK_SCHEDULER_ACTIVE_UP,
MK_SCHEDULER_CLOSED_DOWN);
{
struct sched_list_node *thnode;
- if(config->cheetah == VAR_OFF){
- return;
- }
-
thnode = mk_sched_get_thread_conf();
switch(active){