ETahi.SavesDelayed = Ember.Mixin.create
  saveInFlight: false

  saveDelayed: ->
    Ember.run.debounce(@, @saveModel, 100)

  saveModel: ->
    unless @get('saveInFlight')
      @set('saveInFlight', true)
      @get('model').save().then =>
        @set('saveInFlight', false)

  actions:
    saveModel: ->
      @saveDelayed()

ETahi.SavesDelayed = Ember.Mixin.create
  saveInFlight: false

  saveDelayed: ->
    Ember.run.debounce(@, @saveModel, 200)

  saveModel: ->
    unless @get('saveInFlight')
      @set('saveInFlight', true)
      @get('model').save().then =>
        @set('saveInFlight', false)

  actions:
    saveModel: ->
      @saveDelayed()

Increase SavesDelayed debounce to 200ms.
Increase SavesDelayed debounce to 200ms.

We're trying to eliminate some recurring test failures.
This may change more in the future.
