X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fconfig.php;h=aad5e57ba2755ba6dac6ea3b7f99ad5b179f1c55;hb=82cdbe6027e5c4baecbf367edbb3dd5ab7a117c7;hp=89d2adfec7e2a0a1e120180bca1b11246e211a3c;hpb=01c1eee4daca999fb09fb116c19efd589cf0cba8;p=hub.git diff --git a/application/hub/config.php b/application/hub/config.php index 89d2adfec..aad5e57ba 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -42,7 +42,7 @@ $cfg->setConfigEntry('boot_node_udp_listen_port', 9061); // CFG: NODE-DEFAULT-MODE (can be 'regular', 'list', 'master' or 'boot', default is 'regular') $cfg->setConfigEntry('node_default_mode', 'regular'); -// CFG: CRUNCHER-DEFAULT-MODE (can be 'mcrypt' at the moment) +// CFG: CRUNCHER-DEFAULT-MODE (can be only 'mcrypt' at the moment) $cfg->setConfigEntry('cruncher_default_mode', 'mcrypt'); // CFG: TEMPLATE-ENGINE @@ -171,6 +171,15 @@ $cfg->setConfigEntry('node_activation_task_handler_initializer_filter', 'NodeTas // CFG: CRUNCHER-BOOTSTRAP-TASK-HANDLER-INITIALIZER-FILTER $cfg->setConfigEntry('cruncher_bootstrap_task_handler_initializer_filter', 'CruncherTaskHandlerInitializerFilter'); +// CFG: CRUNCHER-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER +$cfg->setConfigEntry('cruncher_bootstrap_extra_bootstrapping_filter', 'CruncherBootstrapExtraBootstrappingFilter'); + +// CFG: CRUNCHER-BOOTSTRAP-BUFFER-QUEUE-INITIALIZER-FILTER +$cfg->setConfigEntry('cruncher_bootstrap_buffer_queue_initializer_filter', 'CruncherBootstrapBufferQueueInitializerFilter'); + +// CFG: CRUNCHER-BOOTSTRAP-GENERIC-ACTIVATION-FILTER +$cfg->setConfigEntry('cruncher_bootstrap_generic_activation_filter', 'CruncherBootstrapGenericActivationFilter'); + // CFG: NODE-ACTIVATION-SELF-ANNOUNCEMENT-TASK-FILTER $cfg->setConfigEntry('node_activation_self_announcement_task_filter', 'NodeActivationSelfAnnouncementFilter'); @@ -192,8 +201,8 @@ $cfg->setConfigEntry('node_bootstrap_restore_nodelist_filter', 'NodeBootstrapRes // CFG: NODE-BOOTSTRAP-INIT-QUEUES-FILTER $cfg->setConfigEntry('node_bootstrap_init_queues_filter', 'NodeBootstrapInitQueuesFilter'); -// CFG: NODE-BOOTSTRAP-EXTRA-BOOTSTRAP-FILTER -$cfg->setConfigEntry('node_bootstrap_extra_bootstrap_filter', 'NodeBootstrapExtraBootstrappingFilter'); +// CFG: NODE-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER +$cfg->setConfigEntry('node_bootstrap_extra_bootstrapping_filter', 'NodeBootstrapExtraBootstrappingFilter'); // CFG: NODE-BOOTSTRAP-LISTENER-POOL-FILTER $cfg->setConfigEntry('node_bootstrap_listener_pool_filter', 'NodeBootstrapListenerPoolFilter'); @@ -216,50 +225,53 @@ $cfg->setConfigEntry('cruncher_shutdown_cruncher_filter', 'CruncherShutdownCrunc // CFG: NEWS-READER-CLASS $cfg->setConfigEntry('news_reader_class', 'ConsoleNewsReader'); -// CFG: ANNOUNCEMENT-TEMPLATE-CLASS -$cfg->setConfigEntry('announcement_template_class', 'AnnouncementTemplateEngine'); +// CFG: NODE-ANNOUNCEMENT-TEMPLATE-CLASS +$cfg->setConfigEntry('node_announcement_template_class', 'XmlAnnouncementTemplateEngine'); -// CFG: ANNOUNCEMENT-TEMPLATE-EXTENSION -$cfg->setConfigEntry('announcement_template_extension', '.xml'); +// CFG: NODE-ANNOUNCEMENT-TEMPLATE-EXTENSION +$cfg->setConfigEntry('node_announcement_template_extension', '.xml'); -// CFG: ANNOUNCEMENT-TEMPLATE-TYPE -$cfg->setConfigEntry('announcement_template_type', 'xml/announcement'); +// CFG: NODE-ANNOUNCEMENT-TEMPLATE-TYPE +$cfg->setConfigEntry('node_announcement_template_type', 'xml/announcement'); -// CFG: ANNOUNCEMENT-STACKER-CLASS -$cfg->setConfigEntry('announcement_stacker_class', 'FiLoStacker'); +// CFG: NODE-ANNOUNCEMENT-STACKER-CLASS +$cfg->setConfigEntry('node_announcement_stacker_class', 'FiLoStacker'); -// CFG: SELF-CONNECT-TEMPLATE-CLASS -$cfg->setConfigEntry('self_connect_template_class', 'SelfConnectTemplateEngine'); +// CFG: NODE-SELF-CONNECT-TEMPLATE-CLASS +$cfg->setConfigEntry('node_self_connect_template_class', 'XmlSelfConnectTemplateEngine'); -// CFG: SELF-CONNECT-TEMPLATE-EXTENSION -$cfg->setConfigEntry('self_connect_template_extension', '.xml'); +// CFG: NODE-SELF-CONNECT-TEMPLATE-EXTENSION +$cfg->setConfigEntry('node_self_connect_template_extension', '.xml'); -// CFG: SELF-CONNECT-TEMPLATE-TYPE -$cfg->setConfigEntry('self_connect_template_type', 'xml/self_connect'); +// CFG: NODE-SELF-CONNECT-TEMPLATE-TYPE +$cfg->setConfigEntry('node_self_connect_template_type', 'xml/self_connect'); -// CFG: SELF-CONNECT-STACKER-CLASS -$cfg->setConfigEntry('self_connect_stacker_class', 'FiLoStacker'); +// CFG: NODE-SELF-CONNECT-STACKER-CLASS +$cfg->setConfigEntry('node_self_connect_stacker_class', 'FiLoStacker'); -// CFG: OBJECT-REGISTRY-TEMPLATE-CLASS -$cfg->setConfigEntry('object_registry_template_class', 'ObjectRegistryTemplateEngine'); +// CFG: NODE-OBJECT-REGISTRY-TEMPLATE-CLASS +$cfg->setConfigEntry('node_object_registry_template_class', 'XmlObjectRegistryTemplateEngine'); -// CFG: OBJECT-REGISTRY-TEMPLATE-EXTENSION -$cfg->setConfigEntry('object_registry_template_extension', '.xml'); +// CFG: NODE-OBJECT-REGISTRY-TEMPLATE-EXTENSION +$cfg->setConfigEntry('node_object_registry_template_extension', '.xml'); -// CFG: OBJECT-REGISTRY-TEMPLATE-TYPE -$cfg->setConfigEntry('object_registry_template_type', 'xml/object_registry'); +// CFG: NODE-OBJECT-REGISTRY-TEMPLATE-TYPE +$cfg->setConfigEntry('node_object_registry_template_type', 'xml/object_registry'); -// CFG: OBJECT-REGISTRY-STACKER-CLASS -$cfg->setConfigEntry('object_registry_stacker_class', 'FiLoStacker'); +// CFG: NODE-OBJECT-REGISTRY-STACKER-CLASS +$cfg->setConfigEntry('node_object_registry_stacker_class', 'FiLoStacker'); -// CFG: OBJECT-TYPE-REGISTRY-CLASS -$cfg->setConfigEntry('object_type_registry_class', 'ObjectTypeRegistry'); +// CFG: NODE-OBJECT-TYPE-REGISTRY-CLASS +$cfg->setConfigEntry('node_object_type_registry_class', 'ObjectTypeRegistry'); // CFG: CODE-TEMPLATE-TYPE $cfg->setConfigEntry('code_template_type', 'xml'); // CFG: PACKAGE-STACKER-CLASS -$cfg->setConfigEntry('package_stacker_class', 'FiFoStacker'); +$cfg->setConfigEntry('network_package_stacker_class', 'FiFoStacker'); + +// CFG: CRUNCHER-BUFFER-STACKER-CLASS +$cfg->setConfigEntry('cruncher_buffer_stacker_class', 'FiFoStacker'); // CFG: STACKER-ANNOUNCEMENT-MAX-SIZE $cfg->setConfigEntry('stacker_announcement_max_size', 20); @@ -276,6 +288,12 @@ $cfg->setConfigEntry('stacker_declared_max_size', 1000); // CFG: STACKER-OUTGOING-MAX-SIZE $cfg->setConfigEntry('stacker_outgoing_max_size', 100); +// CFG: STACKER-IN-QUEUE-MAX-SIZE +$cfg->setConfigEntry('stacker_in_queue_max_size', 10000); + +// CFG: STACKER-OUT-QUEUE-MAX-SIZE +$cfg->setConfigEntry('stacker_out_queue_max_size', 10000); + // CFG: STACKER-OBJECT-REGISTRY-MAX-SIZE $cfg->setConfigEntry('stacker_object_registry_max_size', 100); @@ -375,6 +393,12 @@ $cfg->setConfigEntry('hub_self_announcement_task_class', 'HubSelfAnnouncementTas // CFG: HUB-PACKAGE-WRITER-TASK-CLASS $cfg->setConfigEntry('hub_package_writer_task_class', 'NetworkPackageWriterTask'); +// CFG: CRUNCHER-WORK-UNIT-FETCHER-TASK-CLASS +$cfg->setConfigEntry('cruncher_work_unit_fetcher_task_class', 'CruncherWorkUnitFetcherTask'); + +// CFG: CRUNCHER-TEST-UNIT-PRODUCER-TASK-CLASS +$cfg->setConfigEntry('cruncher_test_unit_producer_task_class', 'CruncherTestUnitProducerTask'); + // CFG: TASK-NETWORK-PACKAGE-WRITER-STARTUP-DELAY $cfg->setConfigEntry('task_network_package_writer_startup_delay', 2500); @@ -384,6 +408,24 @@ $cfg->setConfigEntry('task_network_package_writer_interval_delay', 10); // CFG: TASK-NETWORK-PACKAGE-WRITER-MAX-RUNS $cfg->setConfigEntry('task_network_package_writer_max_runs', 0); +// CFG: TASK-CRUNCHER-WORK-UNIT-FETCHER-STARTUP-DELAY +$cfg->setConfigEntry('task_cruncher_work_unit_fetcher_startup_delay', 1000); + +// CFG: TASK-CRUNCHER-WORK-UNIT-FETCHER-INTERVAL-DELAY +$cfg->setConfigEntry('task_cruncher_work_unit_fetcher_interval_delay', 10); + +// CFG: TASK-CRUNCHER-WORK-UNIT-FETCHER-MAX-RUNS +$cfg->setConfigEntry('task_cruncher_work_unit_fetcher_max_runs', 0); + +// CFG: TASK-CRUNCHER-TEST-UNIT-PRODUCER-STARTUP-DELAY +$cfg->setConfigEntry('task_cruncher_test_unit_producer_startup_delay', 500); + +// CFG: TASK-CRUNCHER-TEST-UNIT-PRODUCER-INTERVAL-DELAY +$cfg->setConfigEntry('task_cruncher_test_unit_producer_interval_delay', 1000*60*60); + +// CFG: TASK-CRUNCHER-TEST-UNIT-PRODUCER-MAX-RUNS +$cfg->setConfigEntry('task_cruncher_test_unit_producer_max_runs', 0); + // CFG: TASK-LIST-CLASS $cfg->setConfigEntry('task_list_class', 'TaskList'); @@ -480,5 +522,35 @@ $cfg->setConfigEntry('external_ip', ''); // CFG: PACKAGE-FRAGMENTER-CLASS $cfg->setConfigEntry('package_fragmenter_class', 'PackageFragmenter'); +// CFG: CRUNCHER-TEST-UNITS-ENABLED +$cfg->setConfigEntry('cruncher_test_units_enabled', 'Y'); + +// CFG: CRUNCHER-IN-BUFFER-MIN-THRESHOLD +$cfg->setConfigEntry('cruncher_in_buffer_min_threshold', 3); + +// CFG: CRUNCHER-TEST-UNIT-GENERATOR-CLASS +$cfg->setConfigEntry('cruncher_test_unit_generator_class', 'CruncherTestUnitHelper'); + +// CFG: CRUNCHER-MAX-TEST-UNIT-AMOUNT +$cfg->setConfigEntry('cruncher_max_text_unit_amount', 10); + +// CFG: CRUNCHER-TEST-UNIT-PRODUCER-CLASS +$cfg->setConfigEntry('cruncher_test_unit_producer_class', 'CruncherTestUnitProducer'); + +// CFG: CRUNCHER-TEST-UNIT-PRODUCER-TEMPLATE-CLASS +$cfg->setConfigEntry('cruncher_test_unit_producer_template_class', 'XmlCruncherTestUnitTemplateEngine'); + +// CFG: CRUNCHER-TEST-UNIT-TEMPLATE-EXTENSION +$cfg->setConfigEntry('cruncher_test_unit_template_extension', '.xml'); + +// CFG: CRUNCHER-TEST-UNIT-STACKER-CLASS +$cfg->setConfigEntry('cruncher_test_unit_stacker_class', 'FiLoStacker'); + +// CFG: CRUNCHER-TEST-UNIT-TEMPLATE-TYPE +$cfg->setConfigEntry('cruncher_test_unit_template_type', 'xml/cruncher/producer'); + +// CFG: STACKER-CRUNCHER-TEST-UNIT-MAX-SIZE +$cfg->setConfigEntry('stacker_cruncher_test_unit_max_size', 20); + // [EOF] ?>