Skip to content

Prefs flip back and forth when using account manager #1675

Description

@TheAspens

If you have a host that is configured to use an account manager and you update your global preferences at a project website, then each time the host contacts the project servers, it will receive and start using the global preferences updated at the project website. When it next syncs with the account manager, it will receive the prefs from the account manager and start using those.

This back and forth will continue until the preferences are updated at the account manager so that the mod_time field for the account manager prefs are more recent then the prefs from the project website.

This can be fixed in either of the following two ways:

  • Modify the client in cs_scheduler.cpp CLIENT_STATE::make_scheduler_request() so that it sends a flag to the project indicating that the host is being managed by an account manager. The server code in would also need to be modified in handle_request.cpp handle_global_prefs() so that this flag was read and if the flag was set, the project would not send its db prefs to the client.

or

  • Modify the client so that if it is being managed by BAM and it receives global prefs from a project, it simply discards them and does not use them.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions