Skip to content

Option --no_param_auto_fetch to only fetch params on request. Preload added to menu. #939

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crashmatt
Copy link
Contributor

Command option --no_param_auto_fetch added to prevent parameters upload.
Added console menu option for preload. This was necessary for testing.

Adding some state tracking to enable parameter fetch when requested while using this option.

Target is for use in bandwidth limited systems where parameter loading takes 5min+.

if self.fetch_set is None:
self.fetch_set = set()
self.fetch_set.add(idx)
count += 1

Copy link
Contributor

Choose a reason for hiding this comment

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

Extra whitespace needs to be removed

Copy link
Contributor

@stephendade stephendade left a comment

Choose a reason for hiding this comment

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

Tested and works well. Just a minor whitespace issue to fix up.

@crashmatt
Copy link
Contributor Author

crashmatt commented Jan 25, 2022 via email

@stephendade
Copy link
Contributor

@crashmatt, are you able to fix up the whitespace issue? I'm keen to get this merged in :)

@crashmatt
Copy link
Contributor Author

crashmatt commented Jan 31, 2022 via email

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.

2 participants