Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some OpenFGA fixes #257

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Some OpenFGA fixes #257

merged 2 commits into from
Dec 1, 2023

Conversation

stgraber
Copy link
Member

@stgraber stgraber commented Dec 1, 2023

No description provided.

Writing tuples has occasionally exceeded the timeout causing failures.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
@markylaing
Copy link
Contributor

markylaing commented Dec 1, 2023

Hi @stgraber :)

What was the scenario in which you saw OpenFGA requests taking longer than 10 seconds? Was this only during an initial resource synchronisation e.g. here:

func (f *fga) syncResources(ctx context.Context, resources Resources) error {

or was it on write/delete of a single tuple?

Additionally, is this occurring with OpenFGA running an in-memory storage driver?

Thanks

@stgraber
Copy link
Member Author

stgraber commented Dec 1, 2023

It was during the initial sync.

It's a production OpenFGA server with persistent storage and multiple other servers using it.

@tych0 tych0 merged commit 7c692fa into lxc:main Dec 1, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants