mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
* Hacky working prototype. * Operate with time.Duration offset instead of fixed timestamp. * Polished the backend code. * Made a nicer UI component. * Small refactorings of the websockets code. * Fixed the backend tests. * Better websocketing and smoother transitions * Small styling refactoring. * Detecting empty topologies. * Improved error messaging. * Addressed some of David's comments. * Moved nodesDeltaBuffer to a global state to fix the paused status rendering bug. * Small styling changes * Changed the websocket global state variables a bit. * Polishing & refactoring. * More polishing. * Final refactoring. * Addressed a couple of bugs. * Hidden the timeline control behind Cloud context and a feature flag. * Addressed most of @davkal's comments. * Added mixpanel tracking.
15 lines
511 B
JavaScript
15 lines
511 B
JavaScript
/* Intervals in ms */
|
|
export const API_REFRESH_INTERVAL = 30000;
|
|
export const TOPOLOGY_REFRESH_INTERVAL = 5000;
|
|
export const NODES_DELTA_BUFFER_FEED_INTERVAL = 1000;
|
|
|
|
export const TOPOLOGY_LOADER_DELAY = 100;
|
|
|
|
export const TABLE_ROW_FOCUS_DEBOUNCE_INTERVAL = 10;
|
|
export const VIEWPORT_RESIZE_DEBOUNCE_INTERVAL = 200;
|
|
export const ZOOM_CACHE_DEBOUNCE_INTERVAL = 500;
|
|
export const TIMELINE_DEBOUNCE_INTERVAL = 500;
|
|
|
|
export const TIMELINE_TICK_INTERVAL = 100;
|
|
export const TIMELINE_SLIDER_UPDATE_INTERVAL = 10000;
|