-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(moac): mayastor pool state is shown as blank
Well known problem with a decent workaround now. After experimenting with tcp keep-alive that did not bring any relief I decided to brush the dust of my previous mini-feature with restarting watcher connections every n minutes. By default, as defined in the yaml file now, it is every 10 minutes. Most of the diff is about updating version of javascript k8s client. That change will be merged to the upstream eventually. What it does is that the MOD event is not emitted upon watcher restart if the resource has not changed. Hence it makes the watcher restarts really smooth. I have tested the change in Google Cloud. Resolves: CAS-645 and CAS-630
- Loading branch information
Jan Kryl
committed
Feb 25, 2021
1 parent
93156d9
commit c417ad3
Showing
7 changed files
with
140 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# This file has been generated by node2nix 1.8.0. Do not edit! | ||
# This file has been generated by node2nix 1.9.0. Do not edit! | ||
|
||
{pkgs ? import <nixpkgs> { | ||
inherit system; | ||
}, system ? builtins.currentSystem, nodejs-slim ? pkgs.nodejs-slim-12_x, nodejs ? pkgs."nodejs-12_x"}: | ||
}, system ? builtins.currentSystem, nodejs-slim ? pkgs."nodejs-slim-12_x", nodejs ? pkgs."nodejs-12_x"}: | ||
|
||
let | ||
nodeEnv = import ./node-env.nix { | ||
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile; | ||
inherit nodejs; | ||
inherit (pkgs) stdenv lib python2 runCommand writeTextFile; | ||
inherit pkgs nodejs; | ||
inherit nodejs-slim; | ||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null; | ||
}; | ||
in | ||
import ./node-packages.nix { | ||
inherit (pkgs) fetchurl fetchgit; | ||
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; | ||
inherit nodeEnv; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.