Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overwriting Push notifications delay using ENV VARs does nothing #29742

Open
IvanGrishchenko opened this issue Jul 6, 2023 · 1 comment
Open

Comments

@IvanGrishchenko
Copy link

Description:

I'm running Rocket.Chat on docker and using Rocket.Chat gateway for receiving push notifications.
But there is an issue with mobile push notifications if there is an active PC session. The standard 120-second delay isn't affected by OVERWRITE_SETTING_NOTIFICATIONS_SCHEDULE_DELAY_ONLINE. However if Rocket.Chat is closed on PC then I receive push notifications instantly. I have also tried to introduce this in .env and docker-compose.yml.save just to be sure. None of the above changes the hardcoded 120-second delay

Steps to reproduce:

  1. Introduce "OVERWRITE_SETTING_NOTIFICATIONS_SCHEDULE_DELAY_ONLINE xx" to docker-compose.yml

Expected behavior:

The delay should be the xx value that the user sets

Actual behavior:

The delay is 120-seconds no matter what xx is

Server Setup Information:

  • Version of Rocket.Chat Server: 6.2.9
  • Operating System: Ubuntu 22.04 LTS
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.18 wiredTiger (oplog Enabled)
  • Proxy: nginx

Client Setup Information

  • Desktop App version: 1.39.1
  • Operating System: Windows 10

Additional context

image

@dhruvsingh50
Copy link

@hugocostadev @diegoprates Is anyone working on this issue? I have to provide update to my client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants