renamed field

This commit is contained in:
Robinson 2022-12-15 23:55:40 +01:00
parent 688541fadf
commit 9689b3a1a7
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 5 additions and 4 deletions

View File

@ -130,7 +130,7 @@ abstract class Configuration {
internal const val errorMessage = "Cannot set a property after the configuration context has been created!" internal const val errorMessage = "Cannot set a property after the configuration context has been created!"
@Volatile @Volatile
private var alreadyShownTips = false private var alreadyShownTempFsTips = false
} }
/** /**
@ -519,9 +519,10 @@ abstract class Configuration {
suggestedLocation suggestedLocation
} }
else { else {
if (!alreadyShownTips) { if (!alreadyShownTempFsTips) {
alreadyShownTips = true alreadyShownTempFsTips = true
logger.info("It is recommended to create a RAM drive for best performance. For example\n" + "\$ diskutil erasevolume HFS+ \"DevShm\" `hdiutil attach -nomount ram://\$((2048 * 2048))`") logger.info("It is recommended to create a RAM drive for best performance. For example\n" +
"\$ diskutil erasevolume HFS+ \"DevShm\" `hdiutil attach -nomount ram://\$((2048 * 2048))`")
} }
OS.TEMP_DIR OS.TEMP_DIR