Guest User

Untitled

a guest
Oct 5th, 2018
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. #include "config.h"
  2.  
  3. config::config() {
  4. host = "127.0.0.1";
  5. port = 34000;
  6. max_connections = 512;
  7. max_read_buffer = 4096;
  8. timeout_interval = 20;
  9. schedule_interval = 3;
  10. max_middlemen = 5000;
  11.  
  12. announce_interval = 1800;
  13. peers_timeout = 2700; //Announce interval * 1.5
  14.  
  15. reap_peers_interval = 1800;
  16.  
  17. mysql_db = "gazelle";
  18. mysql_host = "127.0.0.1:3306";
  19. mysql_username = "xxxx";
  20. mysql_password = "xxxx";
  21.  
  22. site_password="xxxx"; // MUST BE 32 CHARS
  23. }
Add Comment
Please, Sign In to add comment