Skip to content

Commit

Permalink
Merge pull request #17 from leftmove/development
Browse files Browse the repository at this point in the history
  • Loading branch information
leftmove authored Jun 30, 2024
2 parents 37fba41 + 1dc3da5 commit 281da6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion backend/routers/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def initialize():

db_empty = True if companies.count_documents({}) == 0 else False
search_empty = (
True if companies_index.get_stats().number_of_documents == 1 else False
True if companies_index.get_stats().number_of_documents <= 1 else False
)
backup_path = "./static/backup"

Expand Down
2 changes: 1 addition & 1 deletion backend/routers/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

class Config:
worker_concurrency = WORKERS
conccurrency = 4
conccurrency = 1
broker_connection_retry_on_startup = True
celery_task_always_eager = False if production_environment else True

Expand Down
6 changes: 0 additions & 6 deletions frontend/components/Health/Health.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ const Health = (props) => {
}, 1000);
}

useEffect(() => {
toast.warning(
"The server is undergoing maintenance, filers will not work currently."
);
});

return (
<Toaster
className={fontLight.className}
Expand Down

0 comments on commit 281da6b

Please sign in to comment.