DocumentServer/ServerComponents/Bin/FileConverterService2.exe.config
nikolay ivanov a8be6b9e72 init repo
2014-07-05 18:22:49 +00:00

42 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<appender name="DebugAppender" type="log4net.Appender.DebugAppender">
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%d [%t] %-5p %c [%x] - %m%n" />
</layout>
</appender>
<root>
<level value="ERROR" />
<appender-ref ref="DebugAppender" />
</root>
</log4net>
<system.data>
<DbProviderFactories>
<clear />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite"/>
</DbProviderFactories>
</system.data>
<connectionStrings configSource="ConnectionStrings.config"/>
<appSettings file="Settings.config">
<add key="sleeptimeout" value="5"/>
<add key="sleeptimeoutiddle" value="5"/>
<add key="maxconverttime" value="60"/>
<add key="maxconverttimeiddle" value="300"/>
<add key="maxconvertiddlefiles" value="5"/>
<add key="maxdownloadbytes" value="100000000"/>
<!--number of processes per processor-->
<add key="maxprocesscount" value="1"/>
<!--download folder-->
<add key="fileconverterservice.relativedir" value="..\origin"/>
<add key="fileconverterservice.gc.removedtaskatonce" value="10" />
<add key="fileconverterservice.gc.runperiod" value="3600" />
<add key="fileconverterservice.percent.runperiod" value="500" />
</appSettings>
</configuration>