mirror of https://github.com/CIRCL/AIL-framework
fix: [background updater] remove completed updates
parent
ec0155251c
commit
dcd3a810f1
|
@ -34,7 +34,7 @@ def launch_background_upgrade(version, script_name):
|
||||||
r_serv.delete('ail:current_background_script')
|
r_serv.delete('ail:current_background_script')
|
||||||
r_serv.delete('ail:current_background_script_stat')
|
r_serv.delete('ail:current_background_script_stat')
|
||||||
r_serv.delete('ail:current_background_update')
|
r_serv.delete('ail:current_background_update')
|
||||||
r_serv.srem('ail:to_update', new_version)
|
r_serv.srem('ail:to_update', version)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,13 @@ pushd ardb/
|
||||||
make
|
make
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# KVROCKS #
|
||||||
|
# test ! -d kvrocks/ && git clone https://github.com/bitleak/kvrocks.git
|
||||||
|
# pushd kvrocks/
|
||||||
|
# make -j4
|
||||||
|
# popd
|
||||||
|
|
||||||
|
# Config File
|
||||||
if [ ! -f configs/core.cfg ]; then
|
if [ ! -f configs/core.cfg ]; then
|
||||||
cp configs/core.cfg.sample configs/core.cfg
|
cp configs/core.cfg.sample configs/core.cfg
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue