X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fconfig.php;h=aad5e57ba2755ba6dac6ea3b7f99ad5b179f1c55;hb=82cdbe6027e5c4baecbf367edbb3dd5ab7a117c7;hp=e8c9ac6b66afcda7cf5ca0797f6066420a84dbb0;hpb=1212b8422d9040c36c355c2c81c689dda7fd79ad;p=hub.git diff --git a/application/hub/config.php b/application/hub/config.php index e8c9ac6b6..aad5e57ba 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -42,8 +42,8 @@ $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 'test' at the moment) -$cfg->setConfigEntry('cruncher_default_mode', 'test'); +// CFG: CRUNCHER-DEFAULT-MODE (can be only 'mcrypt' at the moment) +$cfg->setConfigEntry('cruncher_default_mode', 'mcrypt'); // CFG: TEMPLATE-ENGINE $cfg->setConfigEntry('tpl_engine', 'ConsoleOutput'); @@ -165,14 +165,23 @@ $cfg->setConfigEntry('node_initializer_filter', 'NodeInitializationFilter'); // CFG: CRUNCHER-INITIALIZER-FILTER $cfg->setConfigEntry('cruncher_initializer_filter', 'CruncherInitializationFilter'); -// CFG: HUB-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER -$cfg->setConfigEntry('hub_activation_task_handler_initializer_filter', 'HubTaskHandlerInitializerFilter'); +// CFG: NODE-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER +$cfg->setConfigEntry('node_activation_task_handler_initializer_filter', 'NodeTaskHandlerInitializerFilter'); // CFG: CRUNCHER-BOOTSTRAP-TASK-HANDLER-INITIALIZER-FILTER $cfg->setConfigEntry('cruncher_bootstrap_task_handler_initializer_filter', 'CruncherTaskHandlerInitializerFilter'); -// CFG: HUB-ACTIVATION-SELF-ANNOUNCEMENT-TASK-FILTER -$cfg->setConfigEntry('hub_activation_self_announcement_task_filter', 'HubActivationSelfAnnouncementFilter'); +// 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'); // CFG: NODE-WELCOME-TEASER-FILTER $cfg->setConfigEntry('node_welcome_teaser_filter', 'NodeWelcomeTeaserFilter'); @@ -180,86 +189,89 @@ $cfg->setConfigEntry('node_welcome_teaser_filter', 'NodeWelcomeTeaserFilter'); // CFG: CRUNCHER-WELCOME-TEASER-FILTER $cfg->setConfigEntry('cruncher_welcome_teaser_filter', 'CruncherWelcomeTeaserFilter'); -// CFG: HUB-BOOTSTRAP-GENERATE-HUBID-FILTER -$cfg->setConfigEntry('hub_bootstrap_generate_hubid_filter', 'HubBootstrapGenerateHubIdFilter'); +// CFG: NODE-BOOTSTRAP-GENERATE-HUBID-FILTER +$cfg->setConfigEntry('node_bootstrap_generate_nodeid_filter', 'NodeBootstrapGenerateNodeIdFilter'); -// CFG: HUB-BOOTSTRAP-GENERATE-SESSIONID-FILTER -$cfg->setConfigEntry('hub_bootstrap_generate_sessionid_filter', 'HubBootstrapGenerateSessionIdFilter'); +// CFG: NODE-BOOTSTRAP-GENERATE-SESSIONID-FILTER +$cfg->setConfigEntry('node_bootstrap_generate_sessionid_filter', 'NodeBootstrapGenerateSessionIdFilter'); -// CFG: HUB-BOOTSTRAP-RESTORE-NODELIST-FILTER -$cfg->setConfigEntry('hub_bootstrap_restore_nodelist_filter', 'HubBootstrapRestoreNodeListFilter'); +// CFG: NODE-BOOTSTRAP-RESTORE-NODELIST-FILTER +$cfg->setConfigEntry('node_bootstrap_restore_nodelist_filter', 'NodeBootstrapRestoreNodeListFilter'); -// CFG: HUB-BOOTSTRAP-INIT-QUEUES-FILTER -$cfg->setConfigEntry('hub_bootstrap_init_queues_filter', 'HubBootstrapInitQueuesFilter'); +// CFG: NODE-BOOTSTRAP-INIT-QUEUES-FILTER +$cfg->setConfigEntry('node_bootstrap_init_queues_filter', 'NodeBootstrapInitQueuesFilter'); -// CFG: HUB-BOOTSTRAP-EXTRA-BOOTSTRAP-FILTER -$cfg->setConfigEntry('hub_bootstrap_extra_bootstrap_filter', 'HubBootstrapExtraBootstrappingFilter'); +// CFG: NODE-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER +$cfg->setConfigEntry('node_bootstrap_extra_bootstrapping_filter', 'NodeBootstrapExtraBootstrappingFilter'); -// CFG: HUB-BOOTSTRAP-LISTENER-POOL-FILTER -$cfg->setConfigEntry('hub_bootstrap_listener_pool_filter', 'HubBootstrapListenerPoolFilter'); +// CFG: NODE-BOOTSTRAP-LISTENER-POOL-FILTER +$cfg->setConfigEntry('node_bootstrap_listener_pool_filter', 'NodeBootstrapListenerPoolFilter'); -// CFG: HUB-SHUTDOWN-FLUSH-NODE-LIST-FILTER -$cfg->setConfigEntry('hub_shutdown_flush_node_list_filter', 'HubShutdownFlushNodeListFilter'); +// CFG: NODE-SHUTDOWN-FLUSH-NODE-LIST-FILTER +$cfg->setConfigEntry('node_shutdown_flush_node_list_filter', 'NodeShutdownFlushNodeListFilter'); -// CFG: HUB-SHUTDOWN-DEINIT-QUEUES-FILTER -$cfg->setConfigEntry('hub_shutdown_deinit_queues_filter', 'HubShutdownDeinitQueuesFilter'); +// CFG: NODE-SHUTDOWN-DEINIT-QUEUES-FILTER +$cfg->setConfigEntry('node_shutdown_deinit_queues_filter', 'NodeShutdownDeinitQueuesFilter'); -// CFG: HUB-SHUTDOWN-TASK-HANDLER-FILTER -$cfg->setConfigEntry('hub_shutdown_task_handler_filter', 'HubShutdownTaskHandlerFilter'); +// CFG: NODE-SHUTDOWN-TASK-HANDLER-FILTER +$cfg->setConfigEntry('node_shutdown_task_handler_filter', 'NodeShutdownTaskHandlerFilter'); -// CFG: HUB-SHUTDOWN-NODE-FILTER -$cfg->setConfigEntry('hub_shutdown_node_filter', 'HubShutdownNodeFilter'); +// CFG: NODE-SHUTDOWN-NODE-FILTER +$cfg->setConfigEntry('node_shutdown_node_filter', 'NodeShutdownNodeFilter'); -// CFG: HUB-SHUTDOWN-CRUNCHER-FILTER -$cfg->setConfigEntry('hub_shutdown_cruncher_filter', 'HubShutdownCruncherFilter'); +// CFG: CRUNCHER-SHUTDOWN-CRUNCHER-FILTER +$cfg->setConfigEntry('cruncher_shutdown_cruncher_filter', 'CruncherShutdownCruncherFilter'); // 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] ?>