Use limits instead of periods

This commit is contained in:
Ian Gulliver
2021-09-26 04:33:08 +00:00
parent eb56b5ddd9
commit 5f61b928f8
3 changed files with 8 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ func (wc *WorkspaceClient) Search(q *SearchQuery) ([]*Task, error) {
for {
resp := &tasksResponse{}
wc.rateLimitSearch.Acquire1()
err := wc.client.get(path, values, resp)
if err != nil {
return nil, err