fix tiker in worker update gigachat token
This commit is contained in:
parent
ff729b66c5
commit
79f936e0c5
@ -96,7 +96,7 @@ func (r *GigaChatClient) SendMsg(ctx context.Context, audience model.GigaChatAud
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *GigaChatClient) TokenResearch(ctx context.Context) {
|
func (r *GigaChatClient) TokenResearch(ctx context.Context) {
|
||||||
ticker := time.NewTicker(5 * time.Minute)
|
ticker := time.NewTicker(time.Minute)
|
||||||
defer ticker.Stop()
|
defer ticker.Stop()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
Loading…
Reference in New Issue
Block a user