Skip to content

Commit

Permalink
DT-1551 disable relay query caching
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesj authored Nov 7, 2016
1 parent 7629f5d commit 550b3bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ import ApplicationHtml from './html';

const port = process.env.HOT_LOAD_PORT || 9000;

// Disable relay query cache in order tonot leak memory, see facebook/relay#754
Relay.disableQueryCaching()

function getStringOrArrayElement(arrayOrString, index) {
if (Array.isArray(arrayOrString)) {
return arrayOrString[index];
Expand Down

0 comments on commit 550b3bf

Please sign in to comment.