old_contents: from celery.schedules import crontab
  from celery.task.base import periodic_task
  
  from corehq.preindex.accessors import index_design_doc, get_preindex_designs
  from corehq.util.decorators import serial_task
  from django.conf import settings
  
  
  @periodic_task(run_every=crontab(minute='*/5', hour='0-5'), queue=settings.CELERY_PERIODIC_QUEUE)
  def run_continuous_indexing_task():
      preindex_couch_views.delay()
  
  
  @serial_task('couch-continuous-indexing', timeout=60 * 60, queue=settings.CELERY_PERIODIC_QUEUE, max_retries=0)
  def preindex_couch_views():
      for design in get_preindex_designs():
          index_design_doc(design)
  
new_contents: from celery.schedules import crontab
  from celery.task.base import periodic_task
  
  from corehq.preindex.accessors import index_design_doc, get_preindex_designs
  from corehq.util.decorators import serial_task
  from django.conf import settings
  
  
  @periodic_task(run_every=crontab(minute='*/30', hour='0-5'), queue=settings.CELERY_PERIODIC_QUEUE)
  def run_continuous_indexing_task():
      preindex_couch_views.delay()
  
  
  @serial_task('couch-continuous-indexing', timeout=60 * 60, queue=settings.CELERY_PERIODIC_QUEUE, max_retries=0)
  def preindex_couch_views():
      for design in get_preindex_designs():
          index_design_doc(design)
  
subject: bump time to every 30 minutes