Skip to content

Commit

Permalink
changed resolution to seconds in all plans
Browse files Browse the repository at this point in the history
  • Loading branch information
105th authored and ameshkov committed Dec 26, 2023
1 parent 93c36e7 commit 4421519
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
run: TLS=insecure yarn build

- name: Build patches
# Does not matter how long patches are
# valid because these patches (as well as filter)
# would not be merged to master.
run: yarn build:patches --time=3600 --resolution=s
# Does not matter how long patches are valid because
# these patches (as well as filter) would not be merged to master,
# so for example set it to '10 minutes' in seconds.
run: yarn build:patches --time=600 --resolution=s

- name: Validate platforms and locales
run: yarn validate
8 changes: 4 additions & 4 deletions scripts/auto_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ echo "Selected mode: $MODE"
if [[ "$MODE" == "all" ]]; then
# Build all filters
yarn build
# Set the time live of patches to '4 hours'
yarn build:patches --time=4 --resolution=h
# Set the time live of patches to '4 hours' in seconds
yarn build:patches --time=14400 --resolution=s
elif [[ "$MODE" == "adguard" ]]; then
# Build specific AdGuard filters based on the filter IDs
yarn build --include=$ADGUARD_FILTERS
# Set the time live of patches to '60 minutes'
yarn build:patches --time=60 --resolution=m
# Set the time live of patches to '60 minutes' in seconds
yarn build:patches --time=3600 --resolution=s
fi

# Validate platforms and locales
Expand Down

0 comments on commit 4421519

Please sign in to comment.