Ignore:
Timestamp:
Dec 6, 2010, 9:22:59 PM (16 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
4e49e21
Parents:
10a207c
Message:

refs #1028, tequila server is started on the first available port starting from port number 20458.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2747 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolsh/tolsh.vfs/lib/tolcomm/tolshared.tcl

    r10a207c ra168f52  
    2222#
    2323###############################################################################
    24 proc ::tolshared::start {} {
     24proc ::tolshared::start { port datadir } {
    2525  global tqs_info
    2626  package require Mk4tcl
    … …  
    2828
    2929  puts "::tolshared::start"
    30   mk::file open tqs tequilas.dat -nocommit
     30  # OJO: este archivo hay abrirlo en algun directorio controlado
     31  mk::file open tqs [ file join $datadir tequilas.${port}.dat ] -nocommit
    3132  set tqs_info(verbose) 0     ;# default logging is off
    3233  TqsTimer ""                 ;# default commit timer is 30 seconds
    33   tqsRun 20458                ;# default port is 20458
     34  tqsRun $port                ;# default port is 20458
    3435}
Note: See TracChangeset for help on using the changeset viewer.