Skip to content

Refactor workers - #6928

Merged
eldadfux merged 169 commits into
1.4.xfrom
refactor-workers-sn
Oct 18, 2023
Merged

eldadfux merged 169 commits into
1.4.xfrom
refactor-workers-sn

Conversation

@shimonewman

Copy link
Copy Markdown
Contributor

No description provided.

PineappleIOnic and others added 30 commits December 6, 2022 15:06
…actor-workers

� Conflicts:
�	app/cli.php
�	app/console
�	app/controllers/api/account.php
�	app/controllers/api/functions.php
�	app/controllers/api/teams.php
�	app/controllers/shared/api.php
�	app/init.php
�	app/worker.php
�	app/workers/builds.php
�	app/workers/certificates.php
�	app/workers/deletes.php
�	app/workers/functions.php
�	app/workers/mails.php
�	src/Appwrite/Event/Event.php
�	src/Appwrite/Event/Mail.php
Comment thread composer.json
"utopia-php/platform": "0.5.*",
"utopia-php/pools": "0.4.*",
"utopia-php/preloader": "0.2.*",
"utopia-php/queue": "0.5.*",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to remove resque as a dependency. Later will be able to upgrade the PHP version.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this in another PR
#6946

Comment thread app/cli.php Outdated
Comment thread app/views/install/compose.phtml
Comment thread app/worker.php
Comment on lines +221 to +222
$workerName = $args[0];
$workerIndex = $args[1] ?? '';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where exactly? Because I don't see anything specified anywhere like:

appwrite-worker-audits:
image: <?php echo $organization; ?>/<?php echo $image; ?>:<?php echo $version."\n"; ?>
entrypoint: worker-audits
<<: *x-logging
container_name: appwrite-worker-audits
restart: unless-stopped
networks:
- appwrite
depends_on:
- redis
- mariadb
environment:
- _APP_ENV
- _APP_WORKER_PER_CORE
- _APP_OPENSSL_KEY_V1
- _APP_REDIS_HOST
- _APP_REDIS_PORT
- _APP_REDIS_USER
- _APP_REDIS_PASS
- _APP_DB_HOST
- _APP_DB_PORT
- _APP_DB_SCHEMA
- _APP_DB_USER
- _APP_DB_PASS
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG

Comment thread docker-compose.yml
@eldadfux
eldadfux merged commit 251ae23 into 1.4.x Oct 18, 2023
@abnegate
abnegate deleted the refactor-workers-sn branch October 25, 2023 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

8 participants