Skip to content

Commit

Permalink
docs: update WithTicketTTL
Browse files Browse the repository at this point in the history
  • Loading branch information
castaneai committed Aug 28, 2024
1 parent d2755f1 commit 2c89edb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ Minimatch sets a TTL (time to live) for all tickets.
The default is 10 minutes, but it can be changed as follows

```go
mm := minimatch.NewMinimatchWithRedis(statestore.WithTicketTTL(5 * time.Minute))

// or
store := statestore.NewRedisStore(redis, locker, statestore.WithTicketTTL(5 * time.Minute))
minimatch.NewFrontendService(store, minimatch.WithTicketTTL(5 * time.Minute))
```

[^1]: https://github.com/googleforgames/open-match/issues/1518
Expand Down

0 comments on commit 2c89edb

Please sign in to comment.