Skip to content

Commit

Permalink
refactor: removing unused option
Browse files Browse the repository at this point in the history
Removed the recordPersistDefault option, as it was
never really supported.

Fixes deepstreamIO#347
  • Loading branch information
yasserf committed Apr 8, 2017
1 parent bdaa5c9 commit d7822f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions src/default-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ module.exports = {
*/
heartbeatInterval: 30000,

/**
* @param {Boolean} recordPersistDefault Whether records should be
* persisted by default. Can be overwritten
* for individual records when calling
* getRecord( name, persist );
*/
recordPersistDefault: true,

/**
* @param {Number} reconnectIntervalIncrement Specifies the number of milliseconds by
* which the time until the next reconnection
Expand Down
1 change: 0 additions & 1 deletion test-unit/unit/clientSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ describe('connects', () => {
recordPersistDefault: false,
recordDeleteTimeout: 34852
})
expect(client._options.recordPersistDefault).toBe(false)
expect(client._options.recordReadTimeout).toBe(15000)
expect(client._options.recordDeleteTimeout).toBe(34852)
})
Expand Down

0 comments on commit d7822f5

Please sign in to comment.