Skip to content

Conversation

@edgeinfinity1
Copy link

I'm sorry for its rather roughly written, since I'm not quite familiar with flarum. The refreshing interval is hardcoded to 180s, and last online time to 10min. The cache seemingly not working for refreshing too.
Please consider carefully before merging. Better add some settings.

	new file:   src/Api/Controller/ListOnlineUsersController.php
@edgeinfinity1
Copy link
Author

Update:

  • Realtime refreshing now using cache
  • Last online time synced with setting
  • Refreshing interval to 120sec

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

Successfully merging this pull request may close these issues.

1 participant