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

Rename CacheFlushTimeout to something more descriptive #638

Closed
bruno-garcia opened this issue Dec 3, 2020 · 3 comments · Fixed by #641
Closed

Rename CacheFlushTimeout to something more descriptive #638

bruno-garcia opened this issue Dec 3, 2020 · 3 comments · Fixed by #641
Labels
Feature New feature or request Up-For-Grabs

Comments

@bruno-garcia
Copy link
Member

public TimeSpan CacheFlushTimeout { get; set; } = TimeSpan.FromSeconds(1);

Ideally it should clarify that it: Blocks initializing the SDK if offline caching is enabled and events are on disk to be sent. Something like BlockInitForCacheFlushTimeout but ideally less horrible.

Which makes me realize, before using the field, make sure the CacheDir isn't null.

@bruno-garcia bruno-garcia added Feature New feature or request Up-For-Grabs labels Dec 3, 2020
@lucas-zimerman
Copy link
Collaborator

CacheFlushTimeout -> InitializeCacheTimeout ?

@bruno-garcia
Copy link
Member Author

Maybe Just InitCacheFlushTimeout

@lucas-zimerman
Copy link
Collaborator

mmm sounds good,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Up-For-Grabs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants