Skip to content

Commit

Permalink
cohort update draws from flag configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Aug 6, 2024
1 parent 6ea735e commit 5b688bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/experiment/deployment/deployment_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def download_cohorts(cohort_ids)

def update_cohorts
@logger.debug('Updating cohorts in storage')
download_cohorts(@cohort_storage.cohort_ids)
cohort_ids = AmplitudeExperiment.get_all_cohort_ids_from_flags(@flag_config_storage.flag_configs)
download_cohorts(cohort_ids)
end

def delete_unused_cohorts
Expand Down

0 comments on commit 5b688bd

Please sign in to comment.