Skip to content

v0.1.12

Latest
Compare
Choose a tag to compare
@Javinator9889 Javinator9889 released this 16 Jun 06:50
· 35 commits to main since this release
61716e4

python3-orcha (0.1.12) - summary

  • Key parameter is not mandatory anymore - some plugins may not require it for working.
  • Improve authentication error messages by giving some extra information.
  • connect (from "lib/manager") now returns a boolean indicating whether the connection
    was successful or not.
  • Fix internal digest key for Orcha clients that was causing an exception
    on Python versions lower or equal than 3.7.
  • Improve watchdog mechanism by leveraging the handling to the internal
    processor, the same that handles all the petitions (and which could fail
    due to a deadlock or being blocked or any queue mechanism not working as
    expected).
  • Processor class is now more resilient and handles unexpected exceptions by
    notifying SystemD about our status more frequently. If an unexpected error
    happens (and we are a SystemD service), the watchdog will be triggered and
    we expect to be restarted.
  • Petition objects now implement both equality and comparison operators. We
    relied on dataclasses for such purpose but we've seen some exceptions that
    are happening when an EmptyPetition (for notifying that we have finished) is
    enqueued. Looks like dataclass' eq and lt operators require both
    objects to be exactly the same class, and it does not support subclasses.
  • Protect manager "on_start" and "on_finish" calls with a mutex region

-- Javier Alonso jalonso@teldat.com Thu, 16 Jun 2022 09:00:00 +0200