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
Consider refactoring daemons into classes with a base Daemon
class
#6478
Labels
Comments
rdimaio
changed the title
Consider refactoring daemons into classes with a
Consider refactoring daemons into classes with a base Jan 25, 2024
BaseDaemon
base classDaemon
class
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 2, 2024
… class; rucio#6478 Initial commit where base class Daemon is created. As an initial test, Undertaker inherits from Daemon. If tests pass, other daemons can also be refactored to inherit from Daemon.
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 2, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 2, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 2, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
… class; rucio#6478 Initial commit where base class Daemon is created. As an initial test, Undertaker inherits from Daemon. If tests pass, other daemons can also be refactored to inherit from Daemon.
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 15, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 17, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 29, 2024
…from base class; rucio#6478 Initial commit where base class Daemon is created. As an initial test, Undertaker inherits from Daemon. If tests pass, other daemons can also be refactored to inherit from Daemon.
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 29, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 29, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Feb 29, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Mar 12, 2024
…from base class; rucio#6478 Initial commit where base class Daemon is created. As an initial test, Undertaker inherits from Daemon. If tests pass, other daemons can also be refactored to inherit from Daemon.
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Mar 12, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Mar 12, 2024
rdimaio
added a commit
to rdimaio/rucio
that referenced
this issue
Mar 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at the Rucio daemons (https://github.com/rucio/rucio/tree/37bb888fe6c0af8cb74cea7f36e087468185cbb8/lib/rucio/daemons), there's a few functions that are in common to many daemons. For example,
run
,stop
andrun_once
are used in:It might make sense to abstract these functions into a parent class
BaseDaemon
to avoid replication where possible.The text was updated successfully, but these errors were encountered: