Currently, the constructor of Consensus() calls getenv() many times. We should probably only do it once at first use, or on reception of SIGHUP.
Wiki: ChangeLog-5.21.06
commit 5121bf7814aab8a3c5acfa4750c0697449c38f31 (HEAD -> develop, origin/develop) Author: hieu.h.hoang hieu.h.hoang@dektech.com.au Date: Mon Apr 26 13:44:04 2021 +0700
rde: Improve initialization of Consensus() [#3126] Move the reading environment variables to a new class. The new class's implemented as singleton class.
Log in to post a comment.
commit 5121bf7814aab8a3c5acfa4750c0697449c38f31 (HEAD -> develop, origin/develop)
Author: hieu.h.hoang hieu.h.hoang@dektech.com.au
Date: Mon Apr 26 13:44:04 2021 +0700