read all elements

This commit is contained in:
Yasuhiro Matsumoto 2017-04-18 17:11:49 +09:00
parent 9ccb5101ec
commit 2debac3055
2 changed files with 7 additions and 4 deletions

View file

@ -111,7 +111,7 @@ func (c *Client) GetAccountFollowers(ctx context.Context, id int64) ([]*Account,
if !next {
break
}
time.Sleep(10 * time.Second)
time.Sleep(c.interval)
}
return total, nil
}