-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add hidden snapshot command for future implementation #120
Conversation
d024767
to
7987a09
Compare
7987a09
to
73aa318
Compare
73aa318
to
5de524c
Compare
This PR is a stepping stone to #132 which will implement and test the underlying static snapshot service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking really good! 😃 I cannot wait for this feature, it's going to be super rad
import logger from '../utils/logger' | ||
import {StaticSnapshotOptions} from './static-snapshot-options' | ||
|
||
export default class StaticSnapshotService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I read through this, I wonder if it would make sense to have the snapshot service extend the agent service? Or at least take care of the setup of the agent service in this constructor, so you don't have to do that in the run
command method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,5 +1,6 @@ | |||
export default class Constants { | |||
static readonly PORT: number = 5338 | |||
static readonly NETWORK_IDLE_TIMEOUT: number = 50 // in milliseconds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fab
8181cf7
to
07d3e5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍍 LGTM
# [0.3.0](v0.2.3...v0.3.0) (2019-04-16) ### Features * Add hidden snapshot command for future implementation ([#120](#120)) ([98ae4b8](98ae4b8))
Description
This PR adds a hidden snapshot command, and a stubbed static snapshot service that will be fleshed out in a future PR.
This also includes tests for the snapshot command.