Skip to content

Commit

Permalink
IsTimeout >= 500
Browse files Browse the repository at this point in the history
  • Loading branch information
NaySoftware committed Jan 8, 2017
1 parent 41b9a47 commit 7304a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fcm.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func (this *FcmResponseStatus) PrintResults() {
// IsTimeout check whether the response timeout based on http response status
// code and if any error is retryable
func (this *FcmResponseStatus) IsTimeout() bool {
if this.StatusCode > 500 {
if this.StatusCode >= 500 {
return true
} else if this.StatusCode == 200 {
for _, val := range this.Results {
Expand Down

0 comments on commit 7304a4e

Please sign in to comment.