Skip to content

Dispatching a lot of actions #385

@MariaFF

Description

@MariaFF

Hey guys
I need some help, I have being using the lib to control the offline queue, with redux-sagas.
yield fork(networkSaga, {
httpMethod: 'HEAD',
pingInBackground: false,
pingInterval: 30000,
pingOnlyIfOffline: false,
pingServerUrl: ${config.baseURL}/health,
pingTimeout: 10000,
shouldPing: true,
});
I use this endpoint to control the connection changes. But until the ping the actions being dispatches during 30s. I use takeEvery and I can't change to takeLatest. I tried to use the connectionChange(false) but it doesn't detect the change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions