We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9640b commit 0e80244Copy full SHA for 0e80244
aggregation_mode/batcher/src/server/http.rs
@@ -116,8 +116,13 @@ impl BatcherServer {
116
};
117
118
if daily_tasks_by_address >= state.config.max_daily_proofs_per_user {
119
+ let formatted_time_left = get_time_left_day_formatted();
120
+
121
return HttpResponse::InternalServerError().json(AppResponse::new_unsucessfull(
- "Request denied: Query limit exceeded.",
122
+ format!(
123
+ "Request denied: Query limit exceeded. Quotas renew in {formatted_time_left}"
124
+ )
125
+ .as_str(),
126
400,
127
));
128
}
0 commit comments