Skip to content

Logging: pass in parameters to workers#4369

Merged
chemelnucfin merged 2 commits into
googleapis:masterfrom
chemelnucfin:issue4365-logginggrace
Nov 9, 2017
Merged

Logging: pass in parameters to workers#4369
chemelnucfin merged 2 commits into
googleapis:masterfrom
chemelnucfin:issue4365-logginggrace

Conversation

@chemelnucfin

@chemelnucfin chemelnucfin commented Nov 9, 2017

Copy link
Copy Markdown
Contributor

closes #4365 - Not sure if this is autogenerated though.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 9, 2017
@chemelnucfin chemelnucfin changed the title pass in parameters to workers Logging: pass in parameters to workers Nov 9, 2017

def __init__(self, client, name, grace_period=_DEFAULT_GRACE_PERIOD,
batch_size=_DEFAULT_MAX_BATCH_SIZE):
max_batch_size=_DEFAULT_MAX_BATCH_SIZE):

This comment was marked as spam.

self.worker = _Worker(logger)
self.worker = _Worker(logger,
grace_period=grace_period,
max_batch_size=max_batch_size)

This comment was marked as spam.

@tseaver tseaver added the api: logging Issues related to the Cloud Logging API. label Nov 9, 2017
@chemelnucfin

Copy link
Copy Markdown
Contributor Author

@tseaver PTAL at your convenience, thanks!

@chemelnucfin chemelnucfin merged commit 2a3793d into googleapis:master Nov 9, 2017
@chemelnucfin chemelnucfin deleted the issue4365-logginggrace branch November 9, 2017 20:56
parthea pushed a commit that referenced this pull request Nov 24, 2025
* closes #4365 - pass in parameters to workers

* review changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: logging Issues related to the Cloud Logging API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logging: grace_period & batch_size needs to get passed to _Worker in BackgroundThreadTransport

3 participants