You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting "Error ThrottlingException: Rate exceeded status code: 400, request id: a7d9be90-627d-11e9-9a51-578e1f84b418" from saw.
Maybe, can add some refresh interval for parameter?
The text was updated successfully, but these errors were encountered:
In the meanwhile, it's possible to implement a retry with the following script:
(knife is just my custom wrapper for sed)
#!/bin/bash
LOG=$1
CUT="${2:-\[[^]]+\]\([^)]+\)}"
RETRIES="${3:-1}"# set a bash option so that if any of the piped commands fails, $? will be different than 0set -o pipefail
# watch logs and trim part of the output
saw watch "$LOG"| knife "$CUT"# if the pipe fails and retries are within a reasonable number, retryif [[ $?-ne 0 ]] &&(("$RETRIES" <=10));then
sleep 1
RETRIES=$((RETRIES +1))echo -en "\nRetrying... $0\"$LOG\"\"$CUT\"$RETRIES\n"$0"$LOG""$CUT"$RETRIESfi
Getting "Error ThrottlingException: Rate exceeded status code: 400, request id: a7d9be90-627d-11e9-9a51-578e1f84b418" from saw.
Maybe, can add some refresh interval for parameter?
The text was updated successfully, but these errors were encountered: