Skip to content

Commit

Permalink
Increase initial timeout to prevent 500 error (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
UnchartedBull committed Mar 22, 2020
1 parent c4b5289 commit 8175672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/plugin-service/enclosure.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class EnclosureService {
private notificationService: NotificationService,
) {
this.observable = new Observable((observer: Observer<TemperatureReading>): void => {
timer(850, 30000).subscribe((): void => {
timer(2500, 30000).subscribe((): void => {
if (this.httpGETRequest) {
this.httpGETRequest.unsubscribe();
}
Expand Down

0 comments on commit 8175672

Please sign in to comment.