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

Pool counter. What is it for? #120

Closed
eibol opened this issue Oct 4, 2024 · 2 comments
Closed

Pool counter. What is it for? #120

eibol opened this issue Oct 4, 2024 · 2 comments
Assignees

Comments

@eibol
Copy link

eibol commented Oct 4, 2024

I've been unable to find the utility of pool counters, it is not documented anywhere I've checked.
May I have some tips or pointer for it?
Thanks a lot.

@dkmstr
Copy link
Collaborator

dkmstr commented Oct 4, 2024

do you refer to this, isnt it?
imagen
(The accounting). (Note the image is from devel version, but should be the same).

The idea behind it is to allow to "contabilize" the use time of the user services of a pool, in time.
it has a "timemark", so you can contabilize, for example, usage of "running" services until an specific datetime, and later get the reamining.

As this:
user start_datetime end_date elapsed elapsed_since_timemark
A 1/7/2024 01:00:00 1/7/2024 01:01:00 1 min 0
B 1/7/2024 01:00:00 (not finished) 13:23 min 1:18 mins

This means that A finished the session, B has a running session for 13:23 minutes, and that since the last timemark set on this "counter" have elapsed 1:18.

this allow some kind of control, use consume checking... etc by third party apps easily

Hope this explanations helps. Explaining things is not my best :)

@eibol
Copy link
Author

eibol commented Oct 4, 2024

Perfectly explained, thanks!

@eibol eibol closed this as completed Oct 4, 2024
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