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

adds the ability to specify a Genserver timeout on spreadsheet row functions #24

Merged
merged 1 commit into from
Apr 20, 2018

Conversation

Adzz
Copy link
Contributor

@Adzz Adzz commented Apr 20, 2018

No description provided.

@@ -23,7 +23,7 @@ defmodule GSS.Spreadsheet do
@max_rows GSS.config(:max_rows_per_request, 301)
@default_column_from GSS.config(:default_column_from, 1)
@default_column_to GSS.config(:default_column_to, 26)

@default_gen_server_timeout 5000
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest to make this option configurable like the rest of them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it would be configurable if you pass [timeout: 4000] as an option for example into write rows. This just sets the default for the case when we don't pass in a timeout option. It sets it to be equivalent to the default gen_server timeout.

Maybe I can make it more clear.... one second

@Voronchuk Voronchuk merged commit 0314983 into Voronchuk:master Apr 20, 2018
@Voronchuk Voronchuk mentioned this pull request Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants