It is in the file tweaks.py in the Calibre configuration folder (which you can get to via Preferences) and can be edited using a text editor. It allows for a number of tweaks to calibre behaviour that cannot be one via the GUI.