add hack fix for "no suitable peers" error
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1e6f181335
commit
1e5a8d8e0e
|
@ -6,6 +6,8 @@
|
|||
tags: origin-cert
|
||||
- role: infra-role-geth
|
||||
tags: geth
|
||||
- role: geth-peer-fix
|
||||
tags: geth-peer-fix
|
||||
- role: faucet
|
||||
tags: faucet
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# Description
|
||||
|
||||
This tiny role simply adds a cronjob to restart the geth container on faucet master host daily to avoid the `no suitable peers available` error which keeps messing with the faucet API.
|
||||
|
||||
For more details read: https://github.com/status-im/infra-faucet/issues/1
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
# This an UGLY way of "fixing" the `no suitable peers available` error
|
||||
- name: Add cronjob to restart geth container
|
||||
cron:
|
||||
name: 'HACK: Restart {{ geth_cont_name }} to avoid peers errors'
|
||||
job: 'docker restart {{ geth_cont_name }}'
|
||||
special_time: 'daily'
|
Loading…
Reference in New Issue