Skip to content

Commit

Permalink
fix powfaucet timeouts (#244)
Browse files Browse the repository at this point in the history
* fix ws timeouts & typo in title variable

* added variables for ws timeouts
  • Loading branch information
pk910 authored Oct 20, 2023
1 parent 08b46ae commit a8a1355
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/powfaucet/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://github.com/pk910/PoWFaucet
sources:
- https://github.com/pk910/PoWFaucet
type: application
version: 0.0.2
version: 0.0.3
appVersion: "2.0.0"
maintainers:
- name: pk910
Expand Down
4 changes: 3 additions & 1 deletion charts/powfaucet/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# powfaucet

![Version: 0.0.2](https://img.shields.io/badge/Version-0.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 0.0.3](https://img.shields.io/badge/Version-0.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)

PoW Faucet for EVM chains

Expand Down Expand Up @@ -78,6 +78,8 @@ faucetPowRewardPerHash: 500000000000000000 # 0.5 ETH
| faucetPowDifficulty | int | `12` | PoW module: mining difficulty (see https://github.com/pk910/PoWFaucet/wiki/Operator-Wiki#eligible-hashes) |
| faucetPowEnabled | bool | `false` | Enable PoW module (require mining) |
| faucetPowMaxDuration | int | `18000` | PoW module: max mining time (in seconds) |
| faucetPowPingInterval | int | `45` | PoW module: ping interval for websocket connection |
| faucetPowPingTimeout | int | `90` | PoW module: ping timeout for websocket connection |
| faucetPowRewardPerHash | int | `500000000000000000` | PoW module: drop amount per eligible hash |
| faucetPrivkey | string | `"feedbeef12340000feedbeef12340000feedbeef12340000feedbeef12340000"` | Faucet wallet private key |
| faucetRecurringLimitsAmountWei | float | `100000000000000000000` | Recurring module: max amount a recurring user is allowed to request in total |
Expand Down
10 changes: 9 additions & 1 deletion charts/powfaucet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ faucetPowMaxDuration: 18000 # 5h
# -- PoW module: mining difficulty (see https://github.com/pk910/PoWFaucet/wiki/Operator-Wiki#eligible-hashes)
faucetPowDifficulty: 12

# -- PoW module: ping interval for websocket connection
faucetPowPingInterval: 45

# -- PoW module: ping timeout for websocket connection
faucetPowPingTimeout: 90

# -- Config file
# @default -- See `values.yaml`
config: |
Expand All @@ -324,7 +330,7 @@ config: |
httpProxyCount: {{ .Values.httpProxyCount }}
# title of the faucet
faucetTitle: "{{ .Values.powfaucetTitle }}"
faucetTitle: "{{ .Values.faucetTitle }}"
# url to image displayed on the startpage
faucetImage: "/images/fauceth_420.jpg"
Expand Down Expand Up @@ -578,6 +584,8 @@ config: |
# pow module settings have been trimmed for readability.
# you can find all available settings on https://github.com/pk910/PoWFaucet/wiki/Operator-Wiki#module-pow
powPingInterval: {{ .Values.faucetPowPingInterval }}
powPingTimeout: {{ .Values.faucetPowPingTimeout }}
### Fund Management
Expand Down

0 comments on commit a8a1355

Please sign in to comment.