File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,11 @@ export class ProjectClient {
401
401
// that compute server as active, which keeps it running in case it has idle timeout configured.
402
402
compute_server_id ?: number ,
403
403
) : Promise < void > => {
404
+ if ( ! is_valid_uuid_string ( project_id ) ) {
405
+ console . warn ( "WARNING -- touch_project takes a project_id, but got " , {
406
+ project_id,
407
+ } ) ;
408
+ }
404
409
if ( compute_server_id ) {
405
410
// this is throttled, etc. and is independent of everything below.
406
411
touchComputeServer ( {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { callback } from "awaiting";
11
11
import blocked from "blocked" ;
12
12
import { spawn } from "child_process" ;
13
13
import { program as commander , Option } from "commander" ;
14
-
15
14
import basePath from "@cocalc/backend/base-path" ;
16
15
import {
17
16
pghost as DEFAULT_DB_HOST ,
Original file line number Diff line number Diff line change @@ -3585,7 +3585,7 @@ export class SyncDoc extends EventEmitter {
3585
3585
// keeps the project from stopping.
3586
3586
private touchProject = throttle ( ( ) => {
3587
3587
if ( this . client ?. is_browser ( ) ) {
3588
- this . client . touch_project ?.( this . path ) ;
3588
+ this . client . touch_project ?.( this . project_id ) ;
3589
3589
}
3590
3590
} , 60000 ) ;
3591
3591
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ Table({
490
490
confirm_close : false ,
491
491
mask_files : true ,
492
492
page_size : 500 ,
493
- standby_timeout_m : 5 ,
493
+ standby_timeout_m : 15 ,
494
494
default_file_sort : "name" ,
495
495
[ NEW_FILENAMES ] : DEFAULT_NEW_FILENAMES ,
496
496
show_global_info2 : null ,
Original file line number Diff line number Diff line change 1
1
/* autogenerated by the update_version script */
2
- exports . version = 1755523373 ;
2
+ exports . version = 1757119901 ;
You can’t perform that action at this time.
0 commit comments