File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ use crate::handlers::http::logstream;
3030use crate :: handlers:: http:: middleware:: DisAllowRootUser ;
3131use crate :: handlers:: http:: middleware:: RouteExt ;
3232use crate :: handlers:: http:: role;
33- use crate :: handlers:: http:: MAX_EVENT_PAYLOAD_SIZE ;
3433use crate :: metrics;
3534use crate :: migration;
3635use crate :: migration:: metadata_migration:: migrate_ingester_metadata;
@@ -251,7 +250,6 @@ impl IngestServer {
251250 . to ( ingestor_logstream:: put_stream)
252251 . authorize_for_stream ( Action :: CreateStream ) ,
253252 )
254- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) , // Required to restrict `PUT /logstream/{logstream}`
255253 )
256254 . service (
257255 // GET "/logstream/{logstream}/info" ==> Get info for given log stream
Original file line number Diff line number Diff line change @@ -275,7 +275,6 @@ impl QueryServer {
275275 . to ( querier_logstream:: delete)
276276 . authorize_for_stream ( Action :: DeleteStream ) ,
277277 )
278- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) // Required to restrict `PUT /logstream/{logstream}`
279278 . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
280279 )
281280 . service (
Original file line number Diff line number Diff line change @@ -318,7 +318,6 @@ impl Server {
318318 . to ( logstream:: delete)
319319 . authorize_for_stream ( Action :: DeleteStream ) ,
320320 )
321- . app_data ( web:: PayloadConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) // Required to restrict `PUT /logstream/{logstream}`
322321 . app_data ( web:: JsonConfig :: default ( ) . limit ( MAX_EVENT_PAYLOAD_SIZE ) ) ,
323322 )
324323 . service (
You can’t perform that action at this time.
0 commit comments