synapse
Refactor the `configure_workers_and_start.py` script used internally by Complement.
#16650
Open

Commits
  • Remove obsolete `"app"` from worker templates
    reivilibre committed 2 years ago
  • Convert worker templates into dataclass
    reivilibre committed 2 years ago
  • Use a lambda for the worker name rather than search and replace later
    reivilibre committed 2 years ago
  • Collapse WORKERS_CONFIG by removing entries with defaults
    reivilibre committed 2 years ago
  • Convert listener_resources and endpoint_patterns to Set[str]
    reivilibre committed 2 years ago
  • Tweak comments
    reivilibre committed 2 years ago
  • Add `merge_into`
    reivilibre committed 2 years ago
  • Remove special logic for adding stream_writers: just make it part of the extra config template
    reivilibre committed 2 years ago
  • Rename function to add_worker_to_instance_map given reduction of scope
    reivilibre committed 2 years ago
  • Add `sharding_allowed` to the WorkerTemplate rather than having a separate function for that
    reivilibre committed 2 years ago
  • Use `merge_into` when adding workers to the shared config
    reivilibre committed 2 years ago
  • Promote mark_filepath to constant
    reivilibre committed 2 years ago
  • Add a --generate-only option
    reivilibre committed 2 years ago
  • Newsfile
    reivilibre committed 2 years ago
  • Docstring on WorkerTemplate
    reivilibre committed 2 years ago
  • Fix comment and mutation bug on merge_worker_template_configs
    reivilibre committed 2 years ago
  • Update comment on `merged`
    reivilibre committed 2 years ago
  • Tweak `instantiate_worker_template`, both in name, description and variable names
    reivilibre committed 2 years ago
Loading