mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
feature: Adding in the stopping state (#2677)
* feature: Adding in the stopping state * chore: Deal with timeout in the sigterm for main * chore: Update the timeout * Update web/projects/ui/src/app/pages/apps-routes/app-list/app-list-pkg/app-list-pkg.component.ts Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> * Update web/projects/ui/src/app/pages/apps-routes/app-show/components/app-show-status/app-show-status.component.ts Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com> --------- Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
@@ -24,9 +24,7 @@ export class AppListPkgComponent {
|
||||
}
|
||||
|
||||
get sigtermTimeout(): string | null {
|
||||
return this.pkgMainStatus.status === 'stopping'
|
||||
? this.pkgMainStatus.timeout
|
||||
: null
|
||||
return this.pkgMainStatus.status === 'stopping' ? '30s' : null // @dr-bonez TODO
|
||||
}
|
||||
|
||||
launchUi(e: Event, interfaces: PackageDataEntry['serviceInterfaces']): void {
|
||||
|
||||
@@ -76,9 +76,7 @@ export class AppShowStatusComponent {
|
||||
}
|
||||
|
||||
get sigtermTimeout(): string | null {
|
||||
return this.pkgStatus?.main.status === 'stopping'
|
||||
? this.pkgStatus.main.timeout
|
||||
: null
|
||||
return this.pkgStatus?.main.status === 'stopping' ? '30s' : null // @dr-bonez TODO
|
||||
}
|
||||
|
||||
launchUi(interfaces: PackageDataEntry['serviceInterfaces']): void {
|
||||
|
||||
Reference in New Issue
Block a user