You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# the timestamp after which the referral address is extracted using the delimiter
16
43
REFERRAL_DELIMITER_START_TIMESTAMP=1657290720
44
+
# enable fetching SpokePool events from the contracts
17
45
ENABLE_SPOKE_POOLS_EVENTS_PROCESSING=false
46
+
# enable fetching MerkleDistributor events from the contracts
47
+
ENABLE_MERKLE_DISTRIBUTOR_EVENTS_PROCESSING=false
48
+
# enable the refresh of the referrals materialized view.
18
49
ENABLE_REFERRALS_MATERIALIZED_VIEW_REFRESH=false
19
50
# specify the strategy used for updating sticky referrals. Valid options: queue | cron | disable
20
51
STICKY_REFERRAL_ADDRESSES_MECHANISM=queue
21
-
DISABLE_CRONS=true
22
52
# Following distances in blocks to guarantee finality on each chain. Format should be a map chainId -> blocks.
23
53
# E.g. { "137": 100 }
24
54
FOLLOWING_DISTANCES=
25
-
JWT_SECRET=secret
26
-
# DISCORD_CLIENT_ID and DISCORD_CLIENT_SECRET are the credentials of the Discord app and they are obtained from https://discord.com/developers/applications.
27
-
DISCORD_CLIENT_ID=clientId
28
-
DISCORD_CLIENT_SECRET=clientSecret
29
-
# the url accessed after the Discord authorization processed is fulfilled
Copy file name to clipboardExpand all lines: README.md
+51
Original file line number
Diff line number
Diff line change
@@ -36,3 +36,54 @@ git rebase master
36
36
- `feature-branch` ->`master`: The branch will be deployed on the production environment for testing purposes. Most of the time, all feature branches will be merged into `stage` branch before the `master` branch.
37
37
38
38
3. Update the `stage` branch with the latest master whenever is needed
39
+
40
+
## Run modes
41
+
42
+
The application has the ability the load modules and dependencies depending on predefined running modes that can be one or multiple of: scraper, normal, test. Use the RUN_MODES env variable to configure the behaviour of the application:
43
+
44
+
```
45
+
RUN_MODES=normal,test
46
+
```
47
+
48
+
In order to configure a module to behave differently depending on the running mode, use the static `forRoot` method like in the example below:
0 commit comments