(userId int)
| 28 | } |
| 29 | |
| 30 | func getUserAuthVersionKey(userId int) string { |
| 31 | return fmt.Sprintf("auth:user:version:%d", userId) |
| 32 | } |
| 33 | |
| 34 | // A pending fence only covers the interval between publishing the next |
| 35 | // version and the surrounding database transaction reaching a decision. Its |
no outgoing calls