@@ -24,7 +24,12 @@ export class Config {
2424 Config . log_updates = Config . parseBoolean ( Config . getEnv ( "log_updates" , "false" ) ) ;
2525 Config . log_deletes = Config . parseBoolean ( Config . getEnv ( "log_deletes" , "false" ) ) ;
2626 Config . log_otel_times = Config . parseBoolean ( Config . getEnv ( "log_otel_times" , "false" ) ) ;
27+ Config . log_openflow_amqp = Config . parseBoolean ( Config . getEnv ( "log_openflow_amqp" , "false" ) ) ;
2728 Config . openflow_uniqueid = Config . getEnv ( "openflow_uniqueid" , "" ) ;
29+ Config . enable_openflow_amqp = Config . parseBoolean ( Config . getEnv ( "enable_openflow_amqp" , "false" ) ) ;
30+ Config . openflow_amqp_expiration = parseInt ( Config . getEnv ( "openflow_amqp_expiration" , ( 60 * 1000 * 25 ) . toString ( ) ) ) ; // 25 min
31+ Config . openflow_amqp_processing_limit = parseInt ( Config . getEnv ( "openflow_amqp_processing_limit" , "50" ) ) ;
32+
2833
2934 Config . getting_started_url = Config . getEnv ( "getting_started_url" , "" ) ;
3035
@@ -147,8 +152,11 @@ export class Config {
147152 public static log_updates : boolean = Config . parseBoolean ( Config . getEnv ( "log_updates" , "false" ) ) ;
148153 public static log_deletes : boolean = Config . parseBoolean ( Config . getEnv ( "log_deletes" , "false" ) ) ;
149154 public static log_otel_times : boolean = Config . parseBoolean ( Config . getEnv ( "log_otel_times" , "false" ) ) ;
155+ public static log_openflow_amqp : boolean = Config . parseBoolean ( Config . getEnv ( "log_openflow_amqp" , "false" ) ) ;
150156 public static openflow_uniqueid : string = Config . getEnv ( "openflow_uniqueid" , "" ) ;
151-
157+ public static enable_openflow_amqp : boolean = Config . parseBoolean ( Config . getEnv ( "enable_openflow_amqp" , "false" ) ) ;
158+ public static openflow_amqp_expiration : number = parseInt ( Config . getEnv ( "openflow_amqp_expiration" , ( 60 * 1000 * 25 ) . toString ( ) ) ) ; // 25 min
159+ public static openflow_amqp_processing_limit : number = parseInt ( Config . getEnv ( "openflow_amqp_processing_limit" , "50" ) ) ;
152160
153161 public static getting_started_url : string = Config . getEnv ( "getting_started_url" , "" ) ;
154162
0 commit comments