SemenMartynov / Software-Engineering-2022

Peter the Great St. Petersburg Polytechnic University: Software Engineering course 2022
MIT License
4 stars 1 forks source link

Task Blockchain #313

Closed galievaregina closed 1 year ago

galievaregina commented 1 year ago

Student, group: Galieva Regina, 3530901/90202 URL: https://github.com/galievaregina/MyFirstBlockChain Any comments: gitflow, Python, Flask

SemenMartynov commented 1 year ago

Вот такой хардкод

    if service == 1:
        port1, port2, port3 = 5000, 5001, 5002
    elif service == 2:
        port1, port2, port3 = 5001, 5000, 5002
    else:
        port1, port2, port3 = 5002, 5000, 5001

Не позволит дальше масштабироваться по горизонтали.

Посмотри на коммент тут -- https://github.com/SemenMartynov/Software-Engineering-2022/issues/310