Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #390 from qminer/frozen
Browse files Browse the repository at this point in the history
Frozen
  • Loading branch information
bergloman authored Feb 26, 2018
2 parents 8006adf + 37b2f59 commit b0fd19a
Show file tree
Hide file tree
Showing 16 changed files with 234 additions and 88 deletions.
15 changes: 11 additions & 4 deletions built/distributed/topology_leader.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion built/distributed/topology_leader.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions built/util/crontab_parser.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export declare class CronTabParser {
private parts;
private simple_regex;
private dow_regex;
constructor(s: string);
private miniTest(val, bounds);
isIncluded(target: Date): boolean;
Expand Down
8 changes: 4 additions & 4 deletions built/util/crontab_parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion built/util/crontab_parser.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions built/util/load_balance.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ export interface Topology {
worker: string;
weight: number;
affinity: string[];
forced_affinity: string[];
}
/** This class represents needed change for rebalancing */
/** This class represents a single needed change for rebalancing */
export declare class RebalanceChange {
uuid: string;
worker_old: string;
Expand Down Expand Up @@ -56,8 +57,4 @@ export declare class LoadBalancerEx {
* is too different, it creates rebalancing instructions.
*/
rebalance(topologies: Topology[]): RebalanceResult;
/** Calculates deviation score - how bad is the current load
* in comparison to the near-optimal one.
*/
private compareScore(near_optimal, current);
}
87 changes: 58 additions & 29 deletions built/util/load_balance.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b0fd19a

Please sign in to comment.