Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:827: Inside #if constant(Filesystem.Monitor.symlinks)
   report_debug("Removing hot reload monitor for %O.\n", mod);    mon->clear();    destruct(mon);    }   }      #else /* Filesystem.Monitor.symlinks */      //! @ignore   private class ModuleChangedMonitor {} - void module_hot_reload(RoxenModule mod){} + void register_module_hot_reload(RoxenModule mod){}   void unregister_module_hot_reload(RoxenModule mod){}   //! @endignore      #endif /* !Filesystem.Monitor.symlinks */         private void safe_stop_module (RoxenModule mod, string desc)   {    if (mixed err = catch (mod && mod->stop &&    call_module_func_with_cbs (mod, "stop", 0)))
Roxen.git/server/base_server/configuration.pike:4847:    got_no_delayed_load = -1;    }    }    enable_module_batch_msgs = 0;   // roxenloader.pop_compile_error_handler();    forcibly_added = ([]);    }      #ifdef MODULE_HOT_RELOAD    array(string) hot_mods = roxen->query_hot_reload_modules(); +  array(string) hot_confs = roxen->query_hot_reload_modules_conf();   #endif       foreach( ({this_object()})+indices( otomod ), RoxenModule mod ) {    if( mod->ready_to_receive_requests ) {    if( mixed q = catch( mod->ready_to_receive_requests( this_object() ) ) ) {    report_error( "While calling ready_to_receive_requests in "+    otomod[mod]+":\n"+    describe_backtrace( q ) );    got_no_delayed_load = -1;    }    }      #ifdef MODULE_HOT_RELOAD -  if (has_index(mod, "is_module")) { +  if (has_index(mod, "is_module") && +  (!hot_confs || has_value(hot_confs, name))) +  {    sscanf (mod->module_local_id(), "%s#", string mod_name);       if (has_value(hot_mods, mod_name)) {    register_module_hot_reload(mod);    }    }   #endif    }       foreach( after_init_hooks, function q )