| 1 | package sessiontemp |
| 2 | |
| 3 | import "context" |
| 4 | |
| 5 | // nilContext returns a non-nil background context for lock acquisition that |
| 6 | // waits indefinitely. Owner locks for live generations must not time out while |
| 7 | // the process holds them; stale cleanup uses TryAcquire instead. |
| 8 | func nilContext() context.Context { |
| 9 | return context.Background() |
| 10 | } |
| 11 |