mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 14:40:51 +01:00
new config option AvoidDiskWrites for people running tors on
usb keys and other media that degrades when you write. not implemented yet, so just a reminder. svn:r8331
This commit is contained in:
parent
7ed528c5c5
commit
5a8563baed
2 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,7 @@ static config_var_t _option_vars[] = {
|
|||
VAR("AuthDirReject", LINELIST, AuthDirReject, NULL),
|
||||
VAR("AuthDirRejectUnlisted",BOOL, AuthDirRejectUnlisted,"0"),
|
||||
VAR("AuthoritativeDirectory",BOOL, AuthoritativeDir, "0"),
|
||||
VAR("AvoidDiskWrites", BOOL, AvoidDiskWrites, "0"),
|
||||
VAR("BandwidthBurst", MEMUNIT, BandwidthBurst, "6 MB"),
|
||||
VAR("BandwidthRate", MEMUNIT, BandwidthRate, "3 MB"),
|
||||
VAR("CircuitBuildTimeout", INTERVAL, CircuitBuildTimeout, "1 minute"),
|
||||
|
|
|
@ -1429,6 +1429,8 @@ typedef struct {
|
|||
int VersioningAuthoritativeDir; /**< Boolean: is this an authoritative
|
||||
* directory that's willing to recommend
|
||||
* versions? */
|
||||
int AvoidDiskWrites; /**< Boolean: should we never cache things to disk?
|
||||
* Not used yet. */
|
||||
int ClientOnly; /**< Boolean: should we never evolve into a server role? */
|
||||
int NoPublish; /**< Boolean: should we never publish a descriptor? */
|
||||
int PublishServerDescriptor; /**< Do we publish our descriptor as normal? */
|
||||
|
|
Loading…
Add table
Reference in a new issue