Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update client
  • Loading branch information
cccs-rs authored Feb 19, 2024
2 parents 2031230 + 825f8f9 commit 6eea9bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions avclass_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import shutil

from assemblyline.common import forge
from assemblyline_client.v4_client.client import Client as Client4
from assemblyline_v4_service.updater.updater import ServiceUpdater

classification = forge.get_classification()
Expand All @@ -15,7 +14,6 @@ def __init__(self, *args, **kwargs):
def import_update(
self,
files_sha256: str,
al_client: Client4,
source: str,
default_classification: str = None,
):
Expand Down
3 changes: 2 additions & 1 deletion service_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ heuristics:

docker_config:
image: ${REGISTRY}cccs/assemblyline-service-avclass:$SERVICE_TAG
cpu_cores: 1
cpu_cores: 0.25

dependencies:
updates:
Expand All @@ -61,6 +61,7 @@ dependencies:
command: ["python", "-m", "avclass_updater"]
image: ${REGISTRY}cccs/assemblyline-service-avclass:$SERVICE_TAG
ports: ["5003"]
cpu_cores: 2
run_as_core: True

update_config:
Expand Down

0 comments on commit 6eea9bd

Please sign in to comment.