{"id":19215857,"url":"https://github.com/vanvalenlab/kiosk-redis-janitor","last_synced_at":"2025-06-17T11:38:02.632Z","repository":{"id":37848611,"uuid":"173388971","full_name":"vanvalenlab/kiosk-redis-janitor","owner":"vanvalenlab","description":"Watches Redis and restarts any stalled jobs.","archived":false,"fork":false,"pushed_at":"2022-06-30T20:57:30.000Z","size":90,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-04T23:54:23.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vanvalenlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-02T01:22:03.000Z","updated_at":"2022-01-03T16:49:34.000Z","dependencies_parsed_at":"2022-06-22T23:32:35.044Z","dependency_job_id":null,"html_url":"https://github.com/vanvalenlab/kiosk-redis-janitor","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/vanvalenlab/kiosk-redis-janitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvalenlab%2Fkiosk-redis-janitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvalenlab%2Fkiosk-redis-janitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvalenlab%2Fkiosk-redis-janitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvalenlab%2Fkiosk-redis-janitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanvalenlab","download_url":"https://codeload.github.com/vanvalenlab/kiosk-redis-janitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvalenlab%2Fkiosk-redis-janitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260350295,"owners_count":22995731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T14:14:59.799Z","updated_at":"2025-06-17T11:37:57.615Z","avatar_url":"https://github.com/vanvalenlab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![DeepCell Kiosk Banner](https://raw.githubusercontent.com/vanvalenlab/kiosk-console/master/docs/images/DeepCell_Kiosk_Banner.png)\n\n[![Build Status](https://github.com/vanvalenlab/kiosk-redis-janitor/workflows/build/badge.svg)](https://github.com/vanvalenlab/kiosk-redis-janitor/actions)\n[![Coverage Status](https://coveralls.io/repos/github/vanvalenlab/kiosk-redis-janitor/badge.svg?branch=master)](https://coveralls.io/github/vanvalenlab/kiosk-redis-janitor?branch=master)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](/LICENSE)\n\nThe DeepCell Kiosk uses Redis to implement a [reliable queue](https://redis.io/commands/rpoplpush#pattern-reliable-queue), which moves items from the work queue into processing queues to prevent any items from falling out of the queue. The `kiosk-redis-janitor` watches the processing queues and moves any invalid processing items back to the work queue. This ensures that no work items end up in stranded processing queues and all work is finished in a timely fashion.\n\nThis repository is part of the [DeepCell Kiosk](https://github.com/vanvalenlab/kiosk-console). More information about the Kiosk project is available through [Read the Docs](https://deepcell-kiosk.readthedocs.io/en/master) and our [FAQ](http://www.deepcell.org/faq) page.\n\n## Configuration\n\nThe janitor is configured using environment variables. Please find a table of all environment variables and their descriptions below.\n\n| Name | Description | Default Value |\n| :--- | :--- | :--- |\n| `INTERVAL` | How frequently the Janitor checks for stale items, in seconds. | `20` |\n| `QUEUES` | A `QUEUE_DELIMITER` separated list of work queues to monitor. | `\"predict\"` |\n| `QUEUE_DELIMITER` | A string used to separate a list of queue names in `QUEUES`. | `\",\"` |\n| `REDIS_HOST` | The IP address or hostname of Redis. | `\"redis-master\"` |\n| `REDIS_PORT` | The port used to connect to Redis. | `6379` |\n| `STALE_TIME` | The time after which a job is \"stale\", in seconds.  | `600` |\n\n## Contribute\n\nWe welcome contributions to the [kiosk-console](https://github.com/vanvalenlab/kiosk-console) and its associated projects. If you are interested, please refer to our [Developer Documentation](https://deepcell-kiosk.readthedocs.io/en/master/DEVELOPER.html), [Code of Conduct](https://github.com/vanvalenlab/kiosk-console/blob/master/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/vanvalenlab/kiosk-console/blob/master/CONTRIBUTING.md).\n\n## License\n\nThis software is license under a modified Apache-2.0 license. See [LICENSE](/LICENSE) for full  details.\n\n## Copyright\n\nCopyright © 2018-2021 [The Van Valen Lab](http://www.vanvalen.caltech.edu/) at the California Institute of Technology (Caltech), with support from the Paul Allen Family Foundation, Google, \u0026 National Institutes of Health (NIH) under Grant U24CA224309-01.\nAll rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvalenlab%2Fkiosk-redis-janitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanvalenlab%2Fkiosk-redis-janitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvalenlab%2Fkiosk-redis-janitor/lists"}