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.
2 parents 3d04ff0 + 0209073 commit 45fe702Copy full SHA for 45fe702
src/query/functions/src/scalars/others/sleep.rs
@@ -83,9 +83,9 @@ impl Function for SleepFunction {
83
value.as_u64().map(Duration::from_secs).map_err(|_| err())?
84
};
85
86
- if duration.gt(&Duration::from_secs(30)) {
+ if duration.gt(&Duration::from_secs(300)) {
87
return Err(ErrorCode::BadArguments(format!(
88
- "The maximum sleep time is 30 seconds. Requested: {:?}",
+ "The maximum sleep time is 300 seconds. Requested: {:?}",
89
duration
90
)));
91
0 commit comments