File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 99function getDataTable ( ) {
1010 let template = HtmlService . createTemplateFromFile ( "templates/table" ) ;
1111 template . data = getData ( ) ;
12- Logger . log ( template . evaluate ( ) . getContent ( ) ) ;
12+ // Logger.log(template.evaluate().getContent());
1313 return template . evaluate ( ) . getContent ( ) ;
1414}
1515
@@ -26,7 +26,7 @@ function getData() {
2626 let cacheKey = QUEUE_CACHE_KEY ;
2727 let cacheData = cache . get ( cacheKey ) ;
2828 // return cached data if last update was more than MIN_LAST_TIME_BEFORE_USE_CACHE time ago
29- if (
29+ if ( false && // disable cache
3030 ( cacheData &&
3131 now . getTime ( ) - lastUpdate > MIN_LAST_TIME_BEFORE_USE_CACHE &&
3232 now . getTime ( ) - lastUpdate < MAX_LAST_TIME_BEFORE_USE_CACHE )
Original file line number Diff line number Diff line change @@ -59,9 +59,6 @@ function onFormSubmit(e) {
5959 row . push ( data [ i ] . getResponse ( ) ) ;
6060 }
6161
62- // For inspecting reason.
63- Logger . log ( row ) ;
64-
6562 // Next part is soldly for preventing google sheet overwriting data in the same row
6663 // when there's a lot of request in form.
6764 // It will try to wait as per exponentialBackoff_ work when the lock still active,
You can’t perform that action at this time.
0 commit comments