@@ -82,18 +82,17 @@ var Default = Schema{
8282 EventSizeLimit : Size (5 * config .KByte ),
8383 },
8484 HTTPAction : httpAction {
85- RateLimit : Rate ( rate . Every ( 30 * time . Second ), 3 ),
85+ CallLimit : Int ( 3 ),
8686 ResponseSizeLimit : Size (10 * config .KByte ),
8787 ConnectionTimeout : Duration (10 * time .Second ),
8888 RequestSizeLimit : Size (100 * config .KByte ),
8989 CacheAgeLimit : Duration (10 * time .Minute ),
9090 },
9191 ChainWrite : chainWrite {
92- RateLimit : Rate (rate .Every (30 * time .Second ), 3 ),
9392 TargetsLimit : Int (3 ),
9493 ReportSizeLimit : Size (config .KByte ),
9594 EVM : evmChainWrite {
96- TransactionGasLimit : Uint64 (500_000 ),
95+ TransactionGasLimit : Uint64 (5_000_000 ),
9796 },
9897 },
9998 ChainRead : chainRead {
@@ -177,14 +176,13 @@ type logTrigger struct {
177176 FilterTopicsPerSlotLimit Setting [int ] `unit:"{topic}"`
178177}
179178type httpAction struct {
180- RateLimit Setting [config. Rate ]
179+ CallLimit Setting [int ] `unit:"{call}"`
181180 ResponseSizeLimit Setting [config.Size ]
182181 ConnectionTimeout Setting [time.Duration ]
183182 RequestSizeLimit Setting [config.Size ]
184183 CacheAgeLimit Setting [time.Duration ]
185184}
186185type chainWrite struct {
187- RateLimit Setting [config.Rate ]
188186 TargetsLimit Setting [int ] `unit:"{target}"`
189187 ReportSizeLimit Setting [config.Size ]
190188
0 commit comments