small fix to rate status update (#2967)

Small fix to update code for rate limiting status.

Release Notes (Preview only)
- Fixed update to only stop updating status, when the rate limit is
reset to None
This commit is contained in:
Kyle Caverly 2023-09-14 15:43:30 -04:00 committed by GitHub
commit 9b901df256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -701,8 +701,9 @@ impl ProjectSearchView {
}));
return;
}
} else {
semantic_state.maintain_rate_limit = None;
}
semantic_state.maintain_rate_limit = None;
}
}