version 0.3.31
[fms.git] / src / optionssetup.cpp
index b1ec99e..a802c16 100644 (file)
@@ -395,6 +395,38 @@ void SetupDefaultOptions(SQLite3DB::DB *db)
        upd.Step();\r
        upd.Reset();\r
 \r
+       st.Bind(0,"MaxFailureCount");\r
+       st.Bind(1,"1000");\r
+       st.Step();\r
+       st.Reset();\r
+       upd.Bind(0,"Requests");\r
+       upd.Bind(1,order++);\r
+       upd.Bind(2);\r
+       upd.Bind(3,"The maximum number of failed message requests an identity must accumulate before you will completely ignore an identity.  Request failures can happen even under the best circumstances, and may accumulate rapidly, so it is best to keep this at a high level to avoid false positives.");\r
+       upd.Bind(4,"textbox");\r
+       upd.Bind(5);\r
+       upd.Bind(6);\r
+       upd.Bind(7,"advanced");\r
+       upd.Bind(8,"MaxFailureCount");\r
+       upd.Step();\r
+       upd.Reset();\r
+\r
+       st.Bind(0,"FailureCountReduction");\r
+       st.Bind(1,"500");\r
+       st.Step();\r
+       st.Reset();\r
+       upd.Bind(0,"Requests");\r
+       upd.Bind(1,order++);\r
+       upd.Bind(2);\r
+       upd.Bind(3,"Each identity's failure count will be reduced by this amount every day.");\r
+       upd.Bind(4,"textbox");\r
+       upd.Bind(5);\r
+       upd.Bind(6);\r
+       upd.Bind(7,"advanced");\r
+       upd.Bind(8,"FailureCountReduction");\r
+       upd.Step();\r
+       upd.Reset();\r
+\r
        st.Bind(0,"MinLocalMessageTrust");\r
        st.Bind(1,"50");\r
        st.Step();\r