mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
add comment
This commit is contained in:
parent
0b147927c3
commit
3148e4947f
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ func newUpdateUserInfoScheduler(
|
|||
}
|
||||
|
||||
func (uuis *updateUserInfoScheduler) Reset() {
|
||||
// trigger a reset by sending to the reset channel, which is buffered,
|
||||
// so if we can't proceed there's already a pending reset and no need
|
||||
// to wait
|
||||
select {
|
||||
case uuis.reset <- struct{}{}:
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue