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

Switchable Analytics #4

Merged
merged 3 commits into from
Oct 20, 2022
Merged

Switchable Analytics #4

merged 3 commits into from
Oct 20, 2022

Conversation

rdavydov
Copy link
Owner

@rdavydov rdavydov commented Oct 20, 2022

Description

enableAnalytics.py file in the main directory toggles Analytics

Disabling Analytics significantly reduces memory consumption and saves some disk space by not creating and writing /analytics/*.json.

  • Remove this file if you don't need Analytics. Or rename it to something different, like disableAnalytics.py.
  • To enable Analytics back - just create this file again. Or rename it back to enableAnalytics.py.

This file can be empty.

Fixes #2

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

From tests that I've done on my Windows 10 PC - it reduces memory consumption significantly - from 800 MB with analytics enabled to 40 MB with disabled. On my Linux boxes it also becomes less memory-hungry.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md)
  • My changes generate no new warnings
  • Any dependent changes have been updated in requirements.txt

@rdavydov rdavydov added the 🧱 enhancement New feature or request label Oct 20, 2022
@rdavydov rdavydov merged commit 36258cc into master Oct 20, 2022
@rdavydov rdavydov linked an issue Oct 20, 2022 that may be closed by this pull request
@rdavydov rdavydov self-assigned this Oct 23, 2022
lyw1217 pushed a commit to lyw1217/Twitch-Channel-Points-Miner-v2 that referenced this pull request Nov 5, 2023
benjammin4dayz pushed a commit to benjammin4dayz/Twitch-Channel-Points-Miner-v2 that referenced this pull request Jul 15, 2024
…ker/build-push-action-5.3.0

Bump docker/build-push-action from 5.1.0 to 5.3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧱 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switchable Analytics, Discord, Telegram
1 participant