B4G - Temp files not being deleted
search cancel

B4G - Temp files not being deleted

book

Article ID: 257990

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Installed B4G v2.12.2 on USS 

The EVCS_root/temp directory is not being cleared down. For example these files still exist

temp7525882672077875912                         2022/03/28 12:28:38
temp2493200697870815599                         2022/03/28 12:28:31
temp6782242780404263710                         2022/03/28 12:28:28
temp1315600178137117819                         2022/03/28 12:28:24
temp2937988539884191155                         2022/03/28 12:28:23
temp2973356855081313096                         2022/03/28 12:28:18
temp2311121482186416849                         2022/03/28 12:28:14
temp8254714130100601180                         2022/02/03 14:43:22

 

Environment

Release : 18.1

Endevor Bridge for Git 2.12.2

Resolution

Upgrade to B4G 2.12.4.

Update application.yml and set:

app:
  rules:
    temporary-file-collector:
      enabled: true
      file-retention-hours: 72
      run-every-hours: 2

The cleanup should start a moment after the application startup and then every two hours. Only files older than 72 hours will be deleted.