Skip to content

Commit

Permalink
Bump ack timeout to 1000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Sep 18, 2016
1 parent 25d8f4f commit d7f0b84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/conf/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export let CONFIG = {

LOG_LEVEL: 'info',

ACK_TIMEOUT: 500,
ACK_TIMEOUT: 1000,

LOG_TO_PAGE: false,

Expand Down
4 changes: 3 additions & 1 deletion src/drivers/receive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ function getTargetWindow(source, message) {
export function receiveMessage(event) {

try {
event.source // eslint-disable-line
if (!event.source) {
return;
}
} catch (err) {
return;
}
Expand Down

0 comments on commit d7f0b84

Please # to comment.