Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Made some changes and tweaks to get the project compiling on my machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathannis committed Jan 24, 2013
1 parent 9ced334 commit e1691ec
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Connections/ConnectionBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class ConnectionBuilder : FluentCassandra.Connections.IConnectionBuilder
/// <param name="host"></param>
/// <param name="port"></param>
/// <param name="timeout"></param>
public ConnectionBuilder(string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize = 0, int maxPoolSize = 100, int maxRetries = 0, int serverPollingInterval = 30, int connectionLifetime = 0, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null)
public ConnectionBuilder(string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize = 0, int maxPoolSize = 100, int maxRetries = 0, int serverPollingInterval = 30, int connectionLifetime = 0, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ConnectionDefault , bool compressCqlQueries = true, string username = null, string password = null)
{
Keyspace = keyspace;
Servers = new List<Server>() { new Server(host, port) };
Expand Down
6 changes: 3 additions & 3 deletions src/FluentCassandra.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>fluentCassandra-me.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down Expand Up @@ -312,6 +311,7 @@
<Compile Include="Types\VoidType.cs" />
</ItemGroup>
<ItemGroup>
<None Include="fluentCassandra-me.snk" />
<None Include="FluentCassandra.nuspec">
<SubType>Designer</SubType>
</None>
Expand Down
4 changes: 2 additions & 2 deletions test/FluentCassandra.StressTest/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

namespace FluentCassandra.StressTest
{
class Program
class Program1
{
static void Main(string[] args)
{
Console.Error.WriteLine("Stress Test 1");
try
{
StressTest.StressTest1.Test();
//tressTest1.Test();
}
catch (Exception ex)
{
Expand Down
2 changes: 1 addition & 1 deletion test/FluentCassandra.StressTest/StressTest1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Threading.Tasks;
using FluentCassandra.Types;
using FluentCassandra.Connections;
using Apache.Cassandra;
using FluentCassandra.Apache.Cassandra;

namespace FluentCassandra.StressTest
{
Expand Down
2 changes: 1 addition & 1 deletion test/FluentCassandra.Tests/app.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="TestServer" value="localhost"></add>
<add key="TestServer" value="dev-Cassandra"></add>
<add key="TestPort" value="9160"></add>
<add key="TestKeySpace" value="Testing"></add>
</appSettings>
Expand Down

0 comments on commit e1691ec

Please sign in to comment.