Skip to content

Commit

Permalink
ログイン後、Iconを設定する (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
tukeJonny authored Nov 22, 2023
1 parent 2e7243b commit a9691de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bench/cmd/bench/benchmarker.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ func (b *benchmarker) runClientProviders(ctx context.Context) {
return
}

icon := scheduler.IconSched.GetRandomIcon()
if _, err := client.PostIcon(ctx, &isupipe.PostIconRequest{
Image: icon.Image,
}); err != nil {
return
}

p.Put(ctx, client)
cnt.Inc()
}()
Expand Down

0 comments on commit a9691de

Please sign in to comment.