text: /* eslint-disable no-console, camelcase */
  import {CYCLE_STATES, PRACTICE} from 'src/common/models/cycle'
  import {changefeedForCycleStateChanged} from 'src/server/services/dataService'
  import {processStateChangefeed} from './util'
  
  export default function cycleStateChanged(cycleStateChangedQueues) {
    processStateChangefeed({
      getFeed: changefeedForCycleStateChanged,
      changefeedName: 'cycle state changed',
      states: CYCLE_STATES,
      statesWithExtendedTimeout: [PRACTICE],
      queues: cycleStateChangedQueues,
    })
  }
  