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 {
401401 // that compute server as active, which keeps it running in case it has idle timeout configured.
402402 compute_server_id ?: number ,
403403 ) : 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+ }
404409 if ( compute_server_id ) {
405410 // this is throttled, etc. and is independent of everything below.
406411 touchComputeServer ( {
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { callback } from "awaiting";
1111import blocked from "blocked" ;
1212import { spawn } from "child_process" ;
1313import { program as commander , Option } from "commander" ;
14-
1514import basePath from "@cocalc/backend/base-path" ;
1615import {
1716 pghost as DEFAULT_DB_HOST ,
Original file line number Diff line number Diff line change @@ -3585,7 +3585,7 @@ export class SyncDoc extends EventEmitter {
35853585 // keeps the project from stopping.
35863586 private touchProject = throttle ( ( ) => {
35873587 if ( this . client ?. is_browser ( ) ) {
3588- this . client . touch_project ?.( this . path ) ;
3588+ this . client . touch_project ?.( this . project_id ) ;
35893589 }
35903590 } , 60000 ) ;
35913591
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ Table({
490490 confirm_close : false ,
491491 mask_files : true ,
492492 page_size : 500 ,
493- standby_timeout_m : 5 ,
493+ standby_timeout_m : 15 ,
494494 default_file_sort : "name" ,
495495 [ NEW_FILENAMES ] : DEFAULT_NEW_FILENAMES ,
496496 show_global_info2 : null ,
Original file line number Diff line number Diff line change 11/* 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