diff --git a/src/server/config.ini b/src/server/config.ini index f21d41909b..b823a3f468 100644 --- a/src/server/config.ini +++ b/src/server/config.ini @@ -544,6 +544,7 @@ is_profile = true profiler::size.request.server = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_PUT_ACK] is_profile = true @@ -554,6 +555,7 @@ is_profile = true profiler::size.request.server = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_MULTI_PUT_ACK] is_profile = true @@ -563,6 +565,7 @@ ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_REMOVE_ACK] is_profile = true @@ -572,6 +575,7 @@ ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_MULTI_REMOVE_ACK] is_profile = true @@ -580,6 +584,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_INCR_ACK] is_profile = true @@ -588,6 +593,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_CHECK_AND_SET_ACK] is_profile = true @@ -596,6 +602,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_CHECK_AND_MUTATE_ACK] is_profile = true @@ -606,6 +613,7 @@ is_profile = true profiler::size.response.server = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_GET_ACK] is_profile = true @@ -616,6 +624,7 @@ is_profile = true profiler::size.response.server = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_MULTI_GET_ACK] is_profile = true @@ -624,6 +633,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_SORTKEY_COUNT_ACK] is_profile = true @@ -633,6 +643,7 @@ ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true ;rpc_request_dropped_before_execution_when_timeout = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_TTL_ACK] is_profile = true @@ -641,6 +652,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_GET_SCANNER_ACK] is_profile = true @@ -649,6 +661,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_SCAN_ACK] is_profile = true @@ -657,6 +670,7 @@ ;rpc_request_throttling_mode = TM_DELAY ;rpc_request_delays_milliseconds = 50, 50, 50, 50, 50, 100 is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_CLEAR_SCANNER_ACK] is_profile = true diff --git a/src/server/config.min.ini b/src/server/config.min.ini index ff74e651a1..3e7556be33 100644 --- a/src/server/config.min.ini +++ b/src/server/config.min.ini @@ -179,6 +179,7 @@ [task.RPC_RRDB_RRDB_PUT] is_profile = true profiler::size.request.server = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_PUT_ACK] is_profile = true @@ -186,36 +187,42 @@ [task.RPC_RRDB_RRDB_MULTI_PUT] is_profile = true profiler::size.request.server = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_MULTI_PUT_ACK] is_profile = true [task.RPC_RRDB_RRDB_REMOVE] is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_REMOVE_ACK] is_profile = true [task.RPC_RRDB_RRDB_MULTI_REMOVE] is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_MULTI_REMOVE_ACK] is_profile = true [task.RPC_RRDB_RRDB_INCR] is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_INCR_ACK] is_profile = true [task.RPC_RRDB_RRDB_CHECK_AND_SET] is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_CHECK_AND_SET_ACK] is_profile = true [task.RPC_RRDB_RRDB_CHECK_AND_MUTATE] is_profile = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_CHECK_AND_MUTATE_ACK] is_profile = true @@ -223,6 +230,7 @@ [task.RPC_RRDB_RRDB_GET] is_profile = true profiler::size.response.server = true + rpc_request_throttling_mode = TM_REJECT [task.RPC_RRDB_RRDB_GET_ACK] is_profile = true @@ -230,3 +238,4 @@ [task.RPC_RRDB_RRDB_MULTI_GET] is_profile = true profiler::size.response.server = true + rpc_request_throttling_mode = TM_REJECT