import StoreTweaks from 'ui/mixins/store-tweaks';

export function initialize(instance) {
  var application = instance.lookup('application:main');
  var store = instance.lookup('store:main');

  store.reopen(StoreTweaks);
  store.reopen({
    removeAfterDelete: false,
    baseUrl: application.apiEndpoint,
    skipTypeifyKeys: ['labels'],
  });
}

export default {
  name: 'store',
  after: 'ember-api-store',
  initialize: initialize
};

@@ -184,16 +184,68 @@
 :main');
+%0A  var cookies = instance.lookup('service:cookies');
 %0A%0A  stor
@@ -390,16 +390,116 @@
 %5D,%0A  %7D);
+%0A%0A  let timeout = cookies.get('timeout');%0A  if ( timeout ) %7B%0A    store.defaultTimeout = timeout;%0A  %7D
 %0A%7D%0A%0Aexpo

Add coookie to set default timeout (#785)